Skip to content

[css-color] lch() function needs to use CSS types properly. #278

Description

@tabatkins

H being defined as "a number between 0 and 360" is super-janky, we have <angle> for a reason.

Similarly, L should be a percentage, since the normal range is 0-100. It's okay for %s to go over 100 or below 0 if necessary, the 0%-100% range should just represent the standard bounds.

I think the only one that really needs to be a number is C.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions