hsvToRgb

converts an HSV color code to the RGB format

array hsvToRgb(number h,number s,number v);

Parameters

hnumberthe hue value from 0 to 360
snumberthe saturation value from 0 to 1
vnumberthe brightness value from 0 to 1

Returns

arraythe array with RED GREEN BLUE values

Example

webix.color.hsvToRgb(32,0.62,0.74);// -> [188, 134, 71]

See also
Back to top