View Source Faker.Color.En (Faker v0.18.0)

Functions for color data in English

Summary

Functions

Returns a random English fancy color name

Returns a random English color name

Functions

@spec fancy_name() :: String.t()

Returns a random English fancy color name

Examples

iex> Faker.Color.En.fancy_name()
"Tawny"
iex> Faker.Color.En.fancy_name()
"Citrine"
iex> Faker.Color.En.fancy_name()
"Greige"
iex> Faker.Color.En.fancy_name()
"Cesious"
@spec name() :: String.t()

Returns a random English color name

Examples

iex> Faker.Color.En.name()
"Red"
iex> Faker.Color.En.name()
"Green"
iex> Faker.Color.En.name()
"Brown"
iex> Faker.Color.En.name()
"Pink"