hsv2rgb remove #

This commit is contained in:
Breizh 2021-01-15 22:14:51 +01:00
parent 2ffe3414e5
commit c56731918e

View file

@ -9,5 +9,5 @@ s /= 100
v /= 100
r, g, b = colorsys.hsv_to_rgb(h, s, v)
print("#{:02x}{:02x}{:02x}".format(round(255*r), round(255*g), round(255*b)))
print("{:02x}{:02x}{:02x}".format(round(255*r), round(255*g), round(255*b)))