Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • HSLColor

Index

Constructors

Properties

Methods

Constructors

constructor

  • new HSLColor(h: number, s: number, l: number, a: number): HSLColor

Properties

a

a: number

h

h: number

l

l: number

s

s: number

Methods

toRGBA

toString

  • toString(): string

Static fromRGBA

  • fromRGBA(r: number, g: number, b: number, a: number): HSLColor

Static hue2rgb

  • hue2rgb(p: number, q: number, t: number): number