Faker Elixir (octopus) v1.0.2 FakerElixir.Color

Generate fake date for the domain Color

Summary

Functions

Return hex

Return hsl

Return a list with hsl values

Return a list with rgb values

Return name

Return rgb

Functions

hex()

Return hex

Examples

iex> FakerElixir.Color.hex
"#1671B0"
hsl()

Return hsl

Examples

iex> FakerElixir.Color.hsl
"hsl(130, 40%, 41%)"
make_hsl()

Return a list with hsl values

Examples

iex> FakerElixir.Color.make_hsl
[236, "13%", "77%"]
make_rgb()

Return a list with rgb values

Examples

iex> FakerElixir.Color.make_rgb
[65, 137, 5]
name()

Return name

Examples

iex> FakerElixir.Color.name
"white"
rgb()

Return rgb

Examples

iex> FakerElixir.Color.rgb
"rgb(152, 228, 47)"