Color

The Color class implements a color object. It can be used to convert colors between different color spaces, and to perform various color operations.

See Color.js documentation.

Example

let c1 = new Color("#ff0011")
c1.to("hsl")
  hsl(356 100% 50%)