Algosim documentation: hsv

hsv

Encodes a colour using HSV (hue, saturation, value) coordinates.

Syntax

Description

hsv(h, s, v) is the colour object corresponding to the colour with HSV (hue, saturation, value) coordinates (h, s, v). The hue is a real number mod 360 while both saturation and value must belong to [0, 1].

Examples

hsv(240, 1, 0.5)
rgba(0.000, 0.000, 0.500, 1.000) (#000080, navy)

See also