Josh Comeau personal blog

Color Formats in CSS

CSS gives us so many options when it comes to expressing color—we can use hex codes, rgb, hsl, and more. Which option should we choose? This turns out to be a surprisingly important decision! In this article, we'll take a tour of color formats in CSS, and see which option will serve us best.
Points
209
HN comments
40
Submissions
1
Cited by
0 commenters

Web & FrontendDesign & UX2022

On Hacker News

SubmittedTitle on HNPointsComments
Dec 30, 2022Color Formats in CSS by samwillis20940

More from Josh Comeau

All 32 posts →

Related posts from the same era