CSS has a whole slew of different color formats: hex codes, rgb(), hsl() and lch(), the list goes on. In this tutorial, I'll take you on a tour of the different options. We'll see how they work, how we can decipher them, and how they can use them to our advantage.

•19m read time•From joshwcomeau.com
Post cover image
Table of contents
IntroductionLink to this heading Named colorsLink to this heading RGBLink to this heading Hex codesLink to this heading HSLLink to this heading Modern color formatsLink to this heading Picking the right color formatLink to this heading The adventure continues
4 Comments

Sort: