@@ -1878,8 +1878,11 @@ Color Stop Lists</h4>
1878
1878
A <a>color stop</a> with two positions is equivalent
1879
1879
to specifying two <a>color stops</a> with the same color,
1880
1880
one for each position.
1881
- <span class='note'> Specifying two locations makes it easier to create solid-color "stripes" in a gradient,
1882
- without having to repeat the color twice.</span>
1881
+
1882
+ Note: Usually, this results in a solid-color "stripe"
1883
+ between the two positions,
1884
+ but using a ''longer'' <<color-interpolation-method>>
1885
+ will instead create a "rainbow" between the two positions.
1883
1886
1884
1887
Percentages are resolved against the length of the <a>gradient line</a>
1885
1888
between the <a>starting point</a> and <a>ending point</a> ,
@@ -1930,6 +1933,12 @@ Coloring the Gradient Line</h4>
1930
1933
the color space used for gradient interpolation
1931
1934
is the default interpolation color space, Oklab, as defined in [[css-color-4]] .
1932
1935
1936
+ Note: The <<color-interpolation-method>>
1937
+ only affects the colors <em> between</em> stops.
1938
+ The color before the first and after the last stop
1939
+ is equal to the first/last stop,
1940
+ <em> regardless</em> of the interpolation method.
1941
+
1933
1942
<wpt>
1934
1943
gradients-with-transparent.html
1935
1944
gradient/css-color-4-colors-default-to-oklab-gradient.html
0 commit comments