Skip to content

kotlin-css error in Color.HSLA.asRGBA #2781

@pdvrieze

Description

@pdvrieze

The shortcut for saturation 0 in the conversion incorrectly does not take into account that the lightness value is a percentage (out of 100) where the rgb parts of rgba are integer values out of 255. As such the conversion fails (as does the underlying darken).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions