srgb-linear-gradient.html (776B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>sRGB-linear gradient interpolation</title> 5 <meta name="fuzzy" content="maxDifference=1-10;totalPixels=0-24000"> 6 <link rel="author" title="Aaron Krajeski" href="mailto:aaronhk@chromium.org"> 7 <link rel="help" href="https://www.w3.org/TR/css-color-4/#interpolation"> 8 <meta name="assert" content="Test sRGB-linear as a gradient interpolation space. Reference generated here: https://raphlinus.github.io/color/2021/01/18/oklab-critique.html"> 9 <link rel="match" href="srgb-linear-gradient-ref.html"> 10 <style> 11 .test { 12 width: 480px; 13 height: 50px; 14 background: linear-gradient(to right in srgb-linear, rgb(255, 0, 0), rgb(0, 255, 0)); 15 } 16 </style> 17 </head> 18 <body> 19 <div class="test"></div> 20 </body> 21 </html>