faker.providers.colorΒΆ

fake.hex_color()
# '#d5f640'

fake.safe_color_name()
# 'black'

fake.safe_hex_color()
# '#55ff00'

fake.rgb_css_color()
# 'rgb(115,182,110)'

fake.rgb_color()
# '70,56,15'

fake.color_name()
# 'SpringGreen'