I have an PNG image in sRGB color space drawn in a canvas. I can’t find the reason why the colors are not accurate in Google Chrome because they are in FireFox and others softwares (like tiled). Here is a screenshot
(left is Google Chrome, right is Firefox ). Sample code
const canvas = document.querySelector("#canvas")
cost ctx = canvas!.getContext('2d')!
ctx.drawImage(myImg, 0, 0)