faker.providers.colorΒΆ

fake.color_name()
# 'DarkOrchid'

fake.hex_color()
# '#26cfba'

fake.rgb_color()
# '60,58,241'

fake.rgb_css_color()
# 'rgb(248,252,235)'

fake.safe_color_name()
# 'black'

fake.safe_hex_color()
# '#cccc00'