Replies: 1 comment 4 replies
-
It's because luminance doesn't equal what you think it does. Luminance is the relative luminance and also the Y coordinate in XYZ. That is literally what happens behind the scene: convert to XYZ, return Y. When you set luminance, you set the Y coordinate in XYZ, but XYZ also functions like an RGB color space, where Y controls greens. It's more something scientists noticed that the Y channel also happened to align with luminance. You are probably making the assumption that adjusting luminance is like adjusting the lightness directly, but it is not. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm sure I'm missing something/not understanding, but I'm trying to understand why I am seeing a big difference when manipulating luminance in color.js vs chroma.js
chroma.js
color.js
Why are these so wildly different colors?
Beta Was this translation helpful? Give feedback.
All reactions