Skip to content

color temperature (kelvin) and value (luminosity) relationship #188

Answered by jaames
Christian-Me asked this question in Q&A
Discussion options

You must be logged in to vote

The value slider is tied to the "V" channel in the HSV color model, and when dealing with Kelvin temperatures it goes from Kelvin -> approx. RGB -> HSV, which is why you see that slider jump around. This is also why I don't think it makes sense to detach the value slider from Kelvin either - iro.js only works with digital color, not light.

While I know a lot of people use iro.js to drive LEDs, that stuff really isn't my wheelhouse, so I never really designed it for dealing with light or anything. In the future I'm considering adding a way to define your own custom slider types, but that needs a lot of work and thinking. :)

As a workaround for now, you could just use two separate colorPick…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by jaames
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants