Skip to content

Commit 787d665

Browse files
committed
[css-color-5] Clarify that RCS origin colors include optional alpha
1 parent b6cb09a commit 787d665

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

css-color-5/Overview.bs

+4-1
Original file line numberDiff line numberDiff line change
@@ -810,7 +810,9 @@ extends [=modern color syntax=]
810810
to allow existing colors to be modified
811811
using the color functions:
812812
if an <dfn>origin color</dfn> is specified,
813-
then each color channel can <em>either</em> be directly specified,
813+
then each color channel
814+
(and the alpha channel, if specified)
815+
can <em>either</em> be directly specified,
814816
or taken from the origin color
815817
(and possibly modified with [=math functions=]).
816818

@@ -825,6 +827,7 @@ The precise details of each function's changes to accomodate [=relative colors=]
825827
but they all follow a common structure:
826828

827829
* An [=origin color=] can be specified with a ''from <<color>>'' value at the start of the function.
830+
This includes the optional alpha channel, if specified.
828831
* The origin color and the relative color need not use the same color function.
829832
* If an [=origin color=] is specified,
830833
the remaining arguments can either be specified directly, as normal,

0 commit comments

Comments
 (0)