Skip to content

Wide gamut support #73

@boronine

Description

@boronine

New screens support colour spaces wider than sRGB.

E.g. CSS will be supporting multiple such colour spaces: https://www.w3.org/TR/css-color-4/#icc-colors

Strictly speaking, HSLuv is limited to sRGB because its constants are plugged into its equations:
https://github.com/hsluv/hsluv/blob/master/math/cie.mac#L10

Of course, for most practical purposes one can simply take the RGB output of HSLuv and plug it into a wide-gamut RGB colour space.

Maybe this is really all we need. In which case we should document that on the website and/or README.

Maybe we want more "proper" wide gamut support. This would be quite an undertaking that I would personally not attempt right now, but I will keep this issue open for discussion.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions