Color

All parameters are optional. The sample parameters are the default values used by each function.

Faker.color_name()
=> YellowGreen


Faker.safe_color_name()
=> lime


Faker.hex_color()
=> #DDA0DD


Faker.rgb_color_list()
=> (45,178,72)


Faker.rgb_color()
=> 12,158,151


Faker.rgb_css_color()
=> rgb(73,15,20)

Last updated