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
I've been skimming through the color specs with interest, seing a lot of useful features, but I couldn't find what I had hoped to be there:
The ability to make global adjustments.
Unless I've missed anything, this appears to be always and "only" about specifying and manipulating individual CSS color values, but no means for adjusting all CSS colors by a single method. Even the color-profile @-rule doesn't appear to allow one to set a default profile for all colors.
The specific use case I'm after is this: We have an audio/video application that is large and completed already (i.e. no new development) but UI elements are sometimes appearing too bright - especially on HDR displays. Reworking all individual colors in all themes wouild be an enormous task, not to speak about 3rd party components; also there's a strict requirement for downlevel html compatibility and finally, the best suitable algorrithm for brightness attentuation isn't clear up-front and should be exchangeable.
For those reasons, it is impractical to achieve this by using color functions (e.g. with relative color) in every single CSS rule which specifies colors.
Ideally, it should affect all CSS colors equally but not videos and images - that's why Chromium's force-color-profile doesn't help either.
I've also seen dynamic-range-limit, but it doesn't help in this case either.
I'd think that my specific use case is a rather common one and generally it's not always feasible to rework all CSS color rules.
Thanks for any thoughts,
sw
The text was updated successfully, but these errors were encountered:
Hello,
I've been skimming through the color specs with interest, seing a lot of useful features, but I couldn't find what I had hoped to be there:
The ability to make global adjustments.
Unless I've missed anything, this appears to be always and "only" about specifying and manipulating individual CSS color values, but no means for adjusting all CSS colors by a single method. Even the color-profile @-rule doesn't appear to allow one to set a default profile for all colors.
The specific use case I'm after is this: We have an audio/video application that is large and completed already (i.e. no new development) but UI elements are sometimes appearing too bright - especially on HDR displays. Reworking all individual colors in all themes wouild be an enormous task, not to speak about 3rd party components; also there's a strict requirement for downlevel html compatibility and finally, the best suitable algorrithm for brightness attentuation isn't clear up-front and should be exchangeable.
For those reasons, it is impractical to achieve this by using color functions (e.g. with relative color) in every single CSS rule which specifies colors.
Ideally, it should affect all CSS colors equally but not videos and images - that's why Chromium's force-color-profile doesn't help either.
I've also seen
dynamic-range-limit
, but it doesn't help in this case either.I'd think that my specific use case is a rather common one and generally it's not always feasible to rework all CSS color rules.
Thanks for any thoughts,
sw
The text was updated successfully, but these errors were encountered: