Skip to content

Commit c24c9fd

Browse files
committed
[css-color-5] Tweak on color-mix() normalization
1 parent 28f8172 commit c24c9fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css-color-5/Overview.bs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Arguments are normalized as follows:
124124
it is expanded to all adjusters available for the given [=colorspace=] plus alpha.
125125
2. If a percentage is omitted and there are no adjusters present on any color arguments,
126126
it defaults to 50% (an equal mix of the two colors).
127-
3. Adjusters that are not present on <em>any</em> color default to 0% (i.e. the corresponding components are taken from the first color).
127+
3. Adjusters that are not present on a color default to 0% (i.e. the corresponding components are taken from the other color).
128128
4. Adjusters that are only present on one of the colors default to <code>100% - <i>p</i></code> on the second color,
129129
where <i>p</i> is the percentage of the corresponding adjuster in the other color.
130130
5. If the sum of corresponding adjusters across all colors is not 100%, percentages are scaled proportionally so that the sum is exactly 100%.

0 commit comments

Comments
 (0)