#

API Docs for: 3.10.3
Show: Inherited Protected Private Deprecated

# color Module

Defined in: `color/js/color-hsv.js:1`

This module provides the following classes:

- Color
- Color.Harmony
- Color.HSL
- Color.HSV

This module is a rollup of the following modules:

- color-base
  Color provides static methods for color conversion. Y.Color.toRGB('f00'); // rgb(255, 0, 0) Y.Color.toHex('rgb(255, 255, 0)'); // #ffff00
- color-harmony
  Color Harmony provides methods useful for color combination discovery.
- color-hsl
  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)
- color-hsv
  Color provides static methods for color conversion hsv values. Y.Color.toHSV('f00'); // hsv(0, 100%, 100%) Y.Color.toHSVA('rgb(255, 255, 0'); // hsva(60, 100%, 100%, 1)