These docs are for v1.0. Click to read the latest docs for v1.2.

HSV / HSVA

Creates a new color from the specified hue, saturation, value and alpha values.

Syntax

=HSV(hue, saturation, value)

=HSVA(hue, saturation, value, alpha)

Arguments

ArgumentTypeDescription
hueNumberThe hue value, from 0 to 255
saturationNumberThe saturation value, from 0 to 255
valueNumberThe value value, from 0 to 255
alphaNumber(Optional) The alpha value, a decimal value from 0 to 1

Examples

=HSVA(0, 0.5, 1, 1)#ff8080ff

=HSVA(110, 0.5, 0.5, 0.5)#4b80407f