Skip to content

Commit a6d0733

Browse files
committed
[css-color-5] Lab default with LCH override
1 parent e03e3fb commit a6d0733

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

css-color-5/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ When an origin color is present, the following keywords can also be used in this
747747
Interpolation {#interpolation}
748748
===================================
749749

750-
In general, interpolation between <<color>> values of the same color space occurs by linearly interpolating each component separately.
750+
In general, interpolation between <<color>> values of the same color space occurs by linearly interpolating each component of the computed value of the color separately, in that colorspace.
751751

752752
Issue: Should gamut mapping occur before or after interpolation?
753753

@@ -756,8 +756,9 @@ Issue(4928): How to handle achromatic interpolation?
756756
Color space for interpolation {#interpolation-space}
757757
------------------------------
758758

759-
If colors are not in the same color space, they are first converted to LCH and and interpolated as LCH colors.
759+
If colors are not in the same color space, they are first converted to Lab and and interpolated as Lab colors.
760760
Host syntax can override the interpolation color space and specify which color space is used for interpolation.
761+
For example, 'color-mix' and 'color-adjust' override the default to LCH.
761762

762763
Issue: Should the colors at 0% and 100% be serialized with their original color spaces or converted to the interpolation space?
763764

0 commit comments

Comments
 (0)