[tbb-dev] Canvas Breakage Ideas

David Fifield david at bamsoftware.com
Tue Jun 30 18:42:57 UTC 2020


I was wondering whether color management affects canvas rendering. Like,
does `rgb(100, 120, 140)` always represent the same sRGB-encoded value
when written to a PNG, or could it depend on monitor and OS color
management settings?

What about the new wide-gamut colors available in CSS? Can those be used
in canvas? What happens when they are written to a PNG? If the writing
process maps them back into sRGB space, is that process deterministic?
https://lea.verou.me/2020/04/lch-colors-in-css-what-why-and-how/
https://graphicdon.com/2020/05/27/the-expanding-gamut-of-color-on-the-web/


More information about the tbb-dev mailing list