By default, an array containing red, green, and blue (and optionally alpha) in that order, or if the format parameter was "hsl", the array will contain hue, saturation and lightness (and optionally alpha) in that order. Or if format is defined as "number", it'll return a number like 0xFF0000.
color: string | number
The color value the should be parsed which could be a string like #9F0 or rgb(255,102,51) or rgba(255,0,0,0.5) or it could be a number like 0xFF00CC or even a named color like red, blue, purple, etc.
By default, an rgb-based value will be returned, but if the format parameter is set to "hsl", an hsl() or hsla() value will be returned instead. Or if format is "number", then a numeric value will be returned, like 0xFF0000.