#

API Docs for: 3.10.3
Show: Inherited Protected Private Deprecated

# color-hsl Module

User Guide & Examples
Defined in: `color/js/color-hsl.js:1`

Available since 3.8.0

Color provides static methods for color conversion to hsl values.

    Y.Color.toHSL('f00'); // hsl(0, 100%, 50%)

    Y.Color.toHSLA('rgb(255, 255, 0'); // hsla(60, 100%, 50%, 1)

This module provides the following classes:

- Color.HSL