Pexels.Color (Pexels v0.1.0) View Source
Desired photo color.
Supported colors: red, orange, yellow, green, turquoise, blue, violet, pink, brown, black, gray, white or any hexidecimal color code (eg. #ffffff).
Examples
iex> Pexels.Color.red()
"red"
Link to this section Summary
Functions
black color
blue color
brown color
Callback implementation for Construct.Type.cast/1
.
gray color
green color
orange color
pink color
red color
turquoise color
violet color
white color
yellow color
Link to this section Functions
black color
Example
iex> Pexels.Client.Color.black()
"black"
blue color
Example
iex> Pexels.Client.Color.blue()
"blue"
brown color
Example
iex> Pexels.Client.Color.brown()
"brown"
Callback implementation for Construct.Type.cast/1
.
gray color
Example
iex> Pexels.Client.Color.gray()
"gray"
green color
Example
iex> Pexels.Client.Color.green()
"green"
orange color
Example
iex> Pexels.Client.Color.orange()
"orange"
pink color
Example
iex> Pexels.Client.Color.pink()
"pink"
red color
Example
iex> Pexels.Client.Color.red()
"red"
turquoise color
Example
iex> Pexels.Client.Color.turquoise()
"turquoise"
violet color
Example
iex> Pexels.Client.Color.violet()
"violet"
white color
Example
iex> Pexels.Client.Color.white()
"white"
yellow color
Example
iex> Pexels.Client.Color.yellow()
"yellow"