faker.providers.colorΒΆ

fake.color_name()
# 'Beige'

fake.hex_color()
# '#4712d4'

fake.rgb_color()
# '50,82,120'

fake.rgb_css_color()
# 'rgb(207,124,202)'

fake.safe_color_name()
# 'yellow'

fake.safe_hex_color()
# '#88bb00'