-
Notifications
You must be signed in to change notification settings - Fork 747
Closed
Labels
Description
In css-color-5, the third syntax entry indicates that the rgb function can take a mixture of numbers and percentages for the r, g, and b values. Is that the case? The previous examples seem to indicate that it needs to be in one format or the other.
csswg-drafts/css-color-5/Overview.bs
Lines 911 to 914 in 19e56ae
<dfn>rgb()</dfn> = rgb( [<<percentage>> | none]{3} [ / [<<alpha-value>> | none] ]? ) | | |
rgb( [<<number>> | none]{3} [ / [<<alpha-value>> | none] ]? ) 64C2 | | |
rgb( [ from <<color>> ]? [ <<number>> | <<percentage>> | none]{3} [ / [<<alpha-value>> | none] ]? ) | |
<dfn><alpha-value></dfn> = <<number>> | <<percentage>> |