Translate RGBA notation to Uint32 color description, which can be used for per-data point coloring with LightningChart JS.
// Example const colorUint32 = uint32ColorFromRGBA(255, 0, 0, 255)
Values are in range [0, 255].
Number that represents a Uint32 rgba color
Red channel [0, 255]
Green channel [0, 255]
Blue channel [0, 255]
Alpha channel [0, 255]
Translate RGBA notation to Uint32 color description, which can be used for per-data point coloring with LightningChart JS.
Values are in range [0, 255].
Returns
Number that represents a Uint32 rgba color