Skip to content

lch does not match with R's hcl #13

@PalmDr

Description

@PalmDr

For example:
spectra.lch(65, 100, 15).hexcode = '#FF0077'

In R:
hcl(15, 100, 65) = '#F8766D'

================

Update:

The problem is that the lch refers to colormath.color_objects.LCHabColor. However in R, the lch function is actually the polar coordinates of the LCHUV color space, which is defined in colormath as colormath.color_objects.LCHuvColor.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions