Isaac Muse

Results 835 comments of Isaac Muse

I imagine it is possible to use the Pointer Data to calculate an appropriate max chroma for a given lightness and hue in LCh (using the specified SC illuminant) for...

Yeah, it seems the easiest approach is to just compare the data within the data's provided model (LCh with the SC illuminant). Though, you could certainly transform the colors into...

If you wanted to fit a color to the Pointer gamut, you could probably just clamp the lightness and chroma within the LCh (SC) space. This assumes you've already gamut-mapped...

Yeah, it is definitely not a color-specific gamut, and I came to the same conclusion that it should probably be something separate from the "gamut" check that exists in color.js...

I don't know if it was intentional, but pre-multiplication was left out. This is actually what browsers do when overlaying colors. If this is not desired, feel free to disregard...

> but it doesn't show me the button to commit it, did you post it as a suggestion or just as a diff? I honestly don't know how to submit...

@LeaVerou @svgeesus I've had some time to revisit this to see if we can push this conversation forward. Locally, I checked out this branch, rebased it, and made the following...

I assume it may be reasonable to enforce gamut mapping of colors entering the function as well. I assume if this was extended beyond RGB spaces, then some of the...

For reference, this is the source from where the LRGB approach came from: https://studylib.net/doc/14656976/the-prismatic-color-space-for-rgb-computations

I'm putting this in draft as there are a few more things I'm exploring.