faker.providers.colorΒΆ

fake.safe_hex_color()
# '#22ee00'

fake.rgb_color()
# '163,100,194'

fake.color_name()
# 'Lavender'

fake.hex_color()
# '#c90b05'

fake.rgb_css_color()
# 'rgb(58,144,77)'

fake.safe_color_name()
# 'silver'