rgba() and rgbEx() functions are good when accessing a color channel-by-channel.
A lot of the time I need to store hardcoded colors (e.g. Player1/2/3 colors, which are hardcoded because the designer requires a specific palette) in variables/array, and copy-pasting all these Rs, Gs and Bs is tedious. I need to retrieve them 1 by 1 from the array too.
Please add a function that returns a color from Hex string (e.g. "ffffffff"), or an rgba string (e.g. "100,100,123,0"), so they are easier to store and retrieve.
Why choose this idea?
Colors are needed in many situations: highlighting, color coding the UI, enable/disable, shadowing, vfx, DrawingCanvas...
Simple to implement.
Hex is used in CSS (which C3 supports), so it would be more modular to keep all my colors in one format across the project.
Less variables and more compact data when dealing with colors.
Thank you.