faker.providers.colorΒΆ

fake.color_name()
# 'DodgerBlue'

fake.hex_color()
# '#553e7b'

fake.rgb_color()
# '242,179,196'

fake.rgb_css_color()
# 'rgb(145,69,157)'

fake.safe_color_name()
# 'navy'

fake.safe_hex_color()
# '#dddd00'