faker.providers.colorΒΆ

fake.color_name()
# 'Thistle'

fake.rgb_color()
# '239,33,22'

fake.rgb_css_color()
# 'rgb(149,55,144)'

fake.hex_color()
# '#7d7d70'

fake.safe_color_name()
# 'gray'

fake.safe_hex_color()
# '#aa3300'