13.
CSS Color Palettes: Hexadecimal vs. RGB
There are several ways you can represent color in HTML and CSS. You can, for instance, use color keywords/names to state the color you want (for example red, aqua, maroon, fuchsia, lime, green, etc.). These are straightforward to use, but they are very limiting in selection. In this lesson, I’ll show you how to represent color with both Hexadecimal colors (e.g. #0000FF) and RGB colors (e.g. rgb(255, 0, 0, 0.5) and HSL colors (e.g. hsl(90deg, 100%, 50%).