hsv to rgb python
import colorsys def hsv2rgb(self, h,s,v): return tuple(round(i * 255) for i in colorsys.hsv_to_rgb(h/360,s/100,v/100)) # H S V values should be between 0 and 1. # If the colors are already normalised(between 0 and 1) you don't have to divide em in the return statement. # - sabz