faker.providers.colorΒΆ

fake.color_name()
# 'LightBlue'

fake.hex_color()
# '#f7089f'

fake.rgb_color()
# '171,16,96'

fake.rgb_css_color()
# 'rgb(138,99,221)'

fake.safe_color_name()
# 'maroon'

fake.safe_hex_color()
# '#bb4400'