faker.providers.colorΒΆ

fake.color_name()
# 'Gold'

fake.hex_color()
# '#7a9934'

fake.rgb_color()
# '240,64,186'

fake.rgb_css_color()
# 'rgb(197,137,134)'

fake.safe_color_name()
# 'black'

fake.safe_hex_color()
# '#dd4400'