Josh Comeau personal blog
CSS Gradients that avoid the “gray dead zone”
Have you ever noticed that gradients tend to look a little gray and washed-out in the middle? This happens because of a mathematical quirk with RGB colors. Fortunately, we can work around this quirk, and create beautiful, lush, saturated gradients.
- Points
- 1,075
- HN comments
- 141
- Submissions
- 1
- Cited by
- 0 commenters
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jan 11, 2022 | CSS Gradients that avoid the “gray dead zone” by joshwcomeau | 1,075 | 141 |