You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The color interface gets an opacity value that can be null. This value is retained through any color type conversions. If not part of an initial color it is simply null. I'm not tied to this implementation, but my point is that I don't think it would be that complicated (feel free to correct me though....). This would also mirror the way that the css specification now allows an optional opacity parameter for both hsl() and rgb() functions, rather than considering them to be different color types. This proposal would also mean that the opacity information is never lost if it was ever there (if someone wanted to explicitly make it 0, they could do so via an adjustment function of some sort).
This discussion was converted from issue #58 on November 24, 2021 09:12.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Enhancement request & proposal:
The color interface gets an opacity value that can be null. This value is retained through any color type conversions. If not part of an initial color it is simply null. I'm not tied to this implementation, but my point is that I don't think it would be that complicated (feel free to correct me though....). This would also mirror the way that the css specification now allows an optional opacity parameter for both
hsl()
andrgb()
functions, rather than considering them to be different color types. This proposal would also mean that the opacity information is never lost if it was ever there (if someone wanted to explicitly make it 0, they could do so via an adjustment function of some sort).Beta Was this translation helpful? Give feedback.
All reactions