Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
gardaani
· 6y ago · 0 comments
This all gets interesting when mixing sRGB, Display-p3 or Lab colors in gradients and animations. There's an open issue about it at W3C:
https://github.com/w3c/csswg-drafts/issues/4647
I think Safari currently fails to display such gradients.
Comments
[–]
NVI
6y ago
I made an sRGB to Display-P3 gradient and it worked well for me in Safari:
https://codepen.io/NV/pen/GRJvYzQ
.
[–]
gardaani
OP
6y ago
You are right! I had tried it in SVG, where solid P3 works, but gradient P3 fails:
https://jsfiddle.net/6pL12ct0/