Convert from HSV color space to RGB gun values.


rgb_Nx3 = hsv2rgb(hsv_Nx3)

Note that in some uses of HSV space the Hue component is given in radians or cycles (range 0:1]). In this version H is given in degrees (0:360).

Also note that the RGB output ranges -1:1, in keeping with other PsychoPy functions.

Back to top