3 ms·
Erik Kennedy has an interesting hack[1] to naturally darken or lighten any color using the standard HSB color picker. He mimicks how colors generally change wh
by undershirt 5y ago
Erik Kennedy has an interesting hack[1] to naturally darken or lighten any color using the standard HSB color picker. He mimicks how colors generally change when shadows are cast on them in the real world—simply by twisting the Saturation and Brightness knobs in opposite directions.
I thought a lot about why that needs to happen. He describes it as an operation that is “adding or subtracting white”. Geometrically, you’re just moving the color closer or further from the white corner of the RGB cube. So I wonder if that maps close enough to moving up-and-down in the CIELAB/UV color spaces, where the Y-axis represents luminance.
[1] https://medium.com/@erikdkennedy/color-in-ui-design-a-practical-framework-e18cacd97f9e https://medium.com/@erikdkennedy/color-in-ui-design-a-practi...
- dwallin 5y agoFor hue he noticed the correct trend but misattributed the reason. The reason for the color shift in sunlit shadows is that outdoors the fill light is blue-toned due to Raleigh scattering while the direct light is from the sun and is closer to yellow.