I know that in rgba, a represents the alpha value.
But what is Ex in rgbEx?
Can I just use the same syntax as rgb(n, n, n)?
(n is 0-255)
Develop games in your browser. Powerful, performant & highly capable.
Yes like that but the range is 1-100
I wasn't familiar with English, so I simply couldn't predict the meaning of Ex.
But is the range 1-100 instead of 0-100?
So, is it not possible to use perfect black color or perfect transparency in rgbaEx?
Thanks. :)
typo I meant 0-100
Most of the time it just means "extended" or "extra". It does the same thing as an existing function but does it differently, or adds something extra. I think it originates from the days in programming before function overloading was a feature in programming languages.
I think it's simply to distinguish from the old C2 expression - rgb. rgb expression is no longer available, but it still exists in old projects. New expressions use a different color format and are called rbgEx, rgbEx255, rbga and rbga255