srgb-gradient.html (743B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <title>sRGb gradient interpolation</title> 5 <meta name="fuzzy" content="maxDifference=1-2;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 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-gradient-ref.html"> 10 <style> 11 .test { 12 width: 480px; 13 height: 50px; 14 background: linear-gradient(to right in srgb, rgb(255 0 0), rgb(0 255 0)); 15 } 16 </style> 17 </head> 18 <body> 19 <div class="test"></div> 20 </body> 21 </html>