Skip to content
This repository was archived by the owner on Dec 12, 2023. It is now read-only.
This repository was archived by the owner on Dec 12, 2023. It is now read-only.

Ranges for color space values #43

Open
@MichaelMauderer

Description

@MichaelMauderer

I just noticed that color spaces do not all document the ranges of expected values and are somewhat inconsistent, e.g., XYZColor seems to assume values scaled from 0...1 and LChab assumes values from 0...100 (for L and C). The current implementation of the CAMs then again expects XYZ values from 0...100.

So at the very least this should be documented everywhere, and then maybe things should be made consistent in the future (but this is of course a backwards compatibility problem).

I will definitely adjust the CAMs, so they don't produce unexpected behavior when used with the values from XYZColor objects.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions