Function: colorToIntRgba()
colorToIntRgba(
color,alpha):Rgba
Defined in: src/utils/color.ts:121
Convert a color to an [r, g, b, a] integer array (0..255).
Ports color_to_int_rgba: the supplied alpha (0.0..1.0) is scaled to 0..255.
Parameters
color
string
alpha
number = 1.0
Returns
Rgba