faker.providers.colorΒΆ

fake.color_name()
# 'DeepSkyBlue'

fake.hex_color()
# '#b0e91b'

fake.rgb_color()
# '22,228,219'

fake.rgb_css_color()
# 'rgb(91,73,242)'

fake.safe_color_name()
# 'white'

fake.safe_hex_color()
# '#ee0000'