A Guide To Modern CSS Colors
Smashing Magazine
NOVEMBER 17, 2021
This code gives our element a red background color: my-element { background-color: #ff0000; }. rgb() and rgba() allow us to “mix” colors in our code to some extent, but the results can be somewhat unpredictable. Using values outside of the sRGB range will only have an effect when hardware and browsers advance sufficiently.
Let's personalize your content