Closed
Description
Are the instructions for blending colors inverted?
According to the color-mod()
spec:
color-mod() = color( [ <color> | <hue> ] <color-adjuster>* )
The first argument specifies the base color... After the base color, zero or more
<color-adjuster>
s can be specified. Each<color-adjuster>
modifies the color in some way, passing a new base color to the next<color-adjuster>
in the list.
Then later, according to the blend()
spec:
blend( <color> <percentage> [rgb | hsl | hwb]? )
To determine the resulting color... linearly interpolate each of the channels of the colors according to the given
<percentage>
, where0%
produces the specified<color>
and100%
produces the base color.
This seems backwards. For example:
color-mod(blue blend(red 100%))
In this example the base color is blue
and is blended with red
at 100%
, which produces ... blue
?
Metadata
Metadata
Assignees
Labels
No labels