Isaac Muse

Results 740 comments of Isaac Muse
trafficstars

I agree. Consistency is the main thing.

> I think @facelessuser wants this in general, as an interpolation hint for lightness, chroma, or any other coordinate I was more using it as it was implemented and written...

> By the way why are you setting L and C to NaN? Because it works and it is unclear that this wasn't supposed to be allowed. The code will...

I'm not sure if Colorjs.io intends to implement every color space out there. I get the impression it mainly focuses on CSS color spaces and research associated with future CSS...

I'll also note that the wiki page has a chart of conversion examples, and talks about using D65, but those results are in D50. That's the only way to get...

Yeah, adding the space makes sense as you have to do the full conversion to the space anyways. You should be able to define it as an object and add...

I originally thought that if a strict `inGamut` with no tolerance was used that HSL would always be constrained when sRGB proved "in gamut". But this example has made me...

I will admit that the example of `hsl(100 300% 100%)` is a bit contrived, and probably wouldn't occur via normal conversion, but probably only through direct manipulation. Maybe a strict...

Okay, so I imagine, from a color.js perspective, that a strict, zero-tolerance check would be preferrable when converting from sRGB to HSL as it is possible that an out-of-gamut sRGB...

> And we should do that clip in color.js, which we [currently do not](https://github.com/LeaVerou/color.js/blob/baf12509475bfa342841c297f29bd425dafbf989/src/spaces/hsl.js#L57) for S and L Yeah, that is kind of why I was asking. I've seen it...