faker.providers.colorΒΆ

fake.safe_hex_color()
# '#116600'

fake.safe_color_name()
# 'green'

fake.rgb_color()
# '42,72,94'

fake.rgb_css_color()
# 'rgb(161,63,106)'

fake.color_name()
# 'DarkGoldenRod'

fake.hex_color()
# '#3616ed'