Is there a way to convert HSV color arguments to RGB type color arguments using pygame modules in python? I tried the following code, but it returns ridiculous values.
import colorsys
test_color = colorsys.hsv_to_rgb(359, 100, 100)
print(test_color)
and this code returns the following nonsense
(100, -9900.0, -9900.0)
This obviously isn't RGB. What am I doing wrong?
See Question&Answers more detail:os