hsvToRgb

converts an HSV color code to the RGB format

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

Parameters

hnumberthe heu 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(0.29,0.62,0.74);// -> [188, 72, 71]

See also
Back to top