Namespace Colour

Colour interpolation, scale generation and parsing

Overview

CSS

Conversions: convert from 'blue', 'rgb(255,0,0)', 'hsl(0, 100%, 50%)' etc:

  • toHex: to a hex format string
  • toHsl: to a {h, s, l} object
  • toRgb: to a {r, g, b} object

Index

Type Aliases

Functions