faker.providers.colorΒΆ

fake.color(hue=None, luminosity=None, color_format='hex')
# '#f9f9a7'

fake.color_name()
# 'DarkSalmon'

fake.hex_color()
# '#aca9d5'

fake.rgb_color()
# '123,212,100'

fake.rgb_css_color()
# 'rgb(127,104,158)'

fake.safe_color_name()
# 'silver'

fake.safe_hex_color()
# '#224400'