Open patrickhlauke opened 5 years ago
Yes It's a problem I can't resolve easely for now.. I suppose robotjs (the dependency I use to get color from picker) isn't 100% accurate in somes cases. I will update my fork to the latest version of robotjs and I'll check if I can make a thing for this. But yeah for now we have no way to work around this.
I may be getting a little ahead of myself, but I'm testing Go, and there is "robotGo" which also allows you to pick up some colors. So maybe I'll do a Go implementation to get the colors back. To see if this will solve the problem, although I do not think so.
Otherwise I updated my RobotJS repo, I haven't tested it yet if it had changed anything. From what I saw in the changes I got back, it doesn't change anything.
I come with some news @patrickhlauke. I've tested with the latest update of robotjs on windows (firefox, chrome, edge) and I don't have any problem to get the good color. I haven't tested on macOS for now
excellent!
Some browsers (Chrome on Windows, Chrome and Safari on macOS) color-manage CSS values, so what they display is subtly different (depending on monitor / color profile) from the values defined in CSS.
Am I right in thinking there's likely no way to work around this?
x-ref https://github.com/ThePacielloGroup/CCAe/issues/76