Join us online - 19th of November
Save your spot
For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Class ColorArray

An array of colors. Create instances from bare arrays or strings using the static method ColorArray.parse.

Index
values: Color[]
  • Returns string

  • ColorArray values

    Parameters

    • Optionalinput: string | string[] | ColorArray | null

      A ColorArray value

    Returns ColorArray | undefined

    A ColorArray instance, or undefined if the input is not a valid ColorArray value.

Was this helpful?