Function hsl

  • An HSL color factory object, which may also be used with instanceof to test if an object is an HSL color instance.

    Parameters

    • h: number
    • s: number
    • l: number
    • Optional opacity: number

    Returns HSLColor

  • An HSL color factory object, which may also be used with instanceof to test if an object is an HSL color instance.

    Parameters

    • cssColorSpecifier: string

    Returns HSLColor

  • An HSL color factory object, which may also be used with instanceof to test if an object is an HSL color instance.

    Returns HSLColor