Type alias ColorResolvable

ColorResolvable: Color | HTMLColorName | ColorArray | string

A value that can be resolved into a Color instance.

  • It can be a Color instance itself
  • An HTML color name as a string (https://www.w3schools.com/colors/colors_names.asp/)
  • An array of three to four integers representing RGB(A) values
  • An hexadecimal string representation of the RGB(A) value (eg. '#FF15DE')

Generated using TypeDoc