Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HSLColor

Hierarchy

  • HSLColor

Index

Constructors

Properties

Methods

Constructors

constructor

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

    • h: number
    • s: number
    • l: number
    • a: number

    Returns HSLColor

Properties

a

a: number

h

h: number

l

l: number

s

s: number

Methods

toRGBA

  • Returns Color

Static fromRGBA

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

    • r: number
    • g: number
    • b: number
    • a: number

    Returns HSLColor