New to Kendo UI for jQueryStart a free 30-day trial

FromHSV

static methods

Creates a new color object from the hsva channels in the 0..1 range.

Parameters:hueNumber

The hue channel of the color, in the range from 0 to 1.

saturationNumber

The saturation channel of the color, in the range from 0 to 1.

valueNumber

The value channel of the color, in the range from 0 to 1.

Returns:kendo.Color

A new object that represents the color with the passed color coordinates

<script>
var color = kendo.Color.fromHSV(1,.5,.5);
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(color.toCss()); // logs "#804140"

color = kendo.Color.fromHSV(.5,1,.5,1);
/* The result can be observed in the DevTools(F12) console of the browser. */
console.log(color.toCssRgba()); // logs "rgba(128, 1, 0, 1)"
</script>
Not finding the help you need?
Contact Support