Convert RGB to Hex Color using Python September 6, 2020 Python 0 Comments 580 Views % operator r = 128 g = 96 b = 194 hexColor = '#%02x%02x%02x' % (r, g, b) print(hexColor)
Leave a Comment
Cancel reply