faker.providers.colorΒΆ

fake.safe_hex_color()
# '#ee5500'

fake.hex_color()
# '#fdb409'

fake.color_name()
# 'Chocolate'

fake.safe_color_name()
# 'teal'

fake.rgb_color()
# '204,96,101'

fake.rgb_css_color()
# 'rgb(67,186,1)'

fake.rgb_color_list()
# (218, 199, 171)