Constructors

  • Parameters

    • hue: number
    • sat: number
    • lum: number
    • alpha: number

    Returns HSLAColor

Accessors

  • get alpha(): number
  • Returns number

  • get hue(): number
  • Returns number

  • get lum(): number
  • Returns number

  • get sat(): number
  • Returns number

Methods

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Returns {
        a: number;
        h: number;
        l: number;
        s: number;
    }

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

    • alpha: boolean = true

    Returns string