HSVtoHSL
Color
stable
Convert an HSV colour (hue, saturation, value) to HSL (hue, saturation, lightness).
API
Signature
Full TypeScript signature sourced from the util file.
API
Parameters
Input parameters accepted by this util.
- hsvarequiredTHSVA
- Colour in HSV space with optional alpha. h in [0, 360], s and v in [0, 1], a in [0, 1].
API
Return value
The value returned by this util.
- Equivalent colour in HSL space. h in [0, 360], s and l in [0, 1], a preserved.
Usage
Examples
Ready-to-paste usage snippets.
Convert HSV to HSL