Color Formats in CSS
Articles & Blogs

Color Formats in CSS

Josh W. Comeau · Nov 28, 2022

<p>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.</p> <div style="margin-top: 50px; font-style: italic;"> <strong><a href="https://www.joshwcomeau.com/css/color-formats/">Keep reading</a>.</strong> </div> <br /> <br />

Jump to
Projectsbrowse
Peoplebrowse
Companiesbrowse
Saved
Editor
Autosaves as you type