Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's a poor take.

The solution is to do linear interpolation in HSL instead of in RGB. It's a simple and useful insight and the article does a fantastic job explaining and motivating it. And then goes so far as to supply an interactive tool to try it out!



If you interpolate over H, you will always introduce other colors into your gradient.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: