-
Notifications
You must be signed in to change notification settings - Fork 144
Description
This is the exact same version of quotable, with the exact same theme, running in two different browsers. I know I'm color blind, but those colors are not rendering the same.
A first Google suggests that maybe it has something to do with this https://bugs.chromium.org/p/chromium/issues/detail?id=425935:
The canvas specification does not state what colorspace a 2D Canvas pixel buffer uses, so browser implementors are free to use what they feel is appropriate. Chrome's implementation treats it as being in the display's color space (as opposed to some other implementations that use sRGB). Right now drawImage is pretty much the only draw method that does the right thing in terms of color management. Unfortunately, when strokeStyle and fillStyle are constructed from color literals, sRGB colors end up being treated as if they already had the display profile baked in, which is not the case.
