toBytes
fun toBytes(result: ERROR CLASS: Symbol not found for ReadonlyArray<ERROR CLASS: Symbol not found for JsDouble>?? = definedExternally): ERROR CLASS: Symbol not found for ReadonlyArray<ERROR CLASS: Symbol not found for JsDouble>(source)
Converts this color to an array of red, green, blue, and alpha values that are in the range of 0 to 255.
Return
The modified result parameter or a new instance if result was undefined.
Parameters
result
The array to store the result in, if undefined a new instance will be created.