Skip to content

Conversation

safareli
Copy link

@safareli safareli commented Nov 27, 2024

both S and L parts are <percentage> values see

The <percentage> data type consists of a <number> followed by the percentage sign (%). see

The syntax of <number> extends the syntax of <integer>. A fractional value is represented by a . followed by one or more decimal digits, and may be appended to an integer see

current regex only allowed for. 0 or 1 digit after .

…oRgb

> both S and L parts are <percentage>  values see 
https://developer.mozilla.org/en-US/docs/Web/CSS/color_value/hsl#s


> The <percentage> data type consists of a <number> followed by the percentage sign (%). 
https://developer.mozilla.org/en-US/docs/Web/CSS/percentage


>The syntax of <number> extends the syntax of <integer>. A fractional value is represented by a . followed by one or more decimal digits, and may be appended to an integer
https://developer.mozilla.org/en-US/docs/Web/CSS/number
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants