faker.providers.colorΒΆ

fake.safe_hex_color()
# '#bbaa00'

fake.rgb_color()
# '233,186,171'

fake.safe_color_name()
# 'purple'

fake.rgb_css_color()
# 'rgb(164,192,156)'

fake.hex_color()
# '#6678c9'

fake.color_name()
# 'Thistle'