Closed
Description
Re: https://drafts.csswg.org/css-color/#rgb-functions
In the description of the rgb functions it says, in part:
the CSS syntax allows full
<number>
s, not just<integer>
s, for authoring convenience
This seems to imply that the numbers can be decimals (e.g. rgb(3.4, 34.6, 144.7)
. The number type description, which the above quote links to, explains that a <number>
can be fractional. But I don't see this working in an rgb function. Can this section clarify a little better what exactly is meant by "full numbers, not just integers"?