Function
parseColor
function parseColor(value: ColorSource, alpha?: number): RGBA;
Any Pixi ColorSource as straight sRGB [r, g, b, a] (0..1), with alpha multiplied in. Memoised.
Parameters#
| Parameter | Type | Default value |
|---|---|---|
value | ColorSource | undefined |
alpha | number | 1 |