Jacob Gube covers the six ways to declare colors in CSS.
One thought on “Introduction to CSS colors”
Nice primer on CSS color fundamentals. Some of new/extended color names were new to me.
This is the one area where I wish CSS had simple variables long ago. Declare a set of unique color names at the top of your CSS file, use those names everywhere else, and later changes would be a snap.
Nice primer on CSS color fundamentals. Some of new/extended color names were new to me.
This is the one area where I wish CSS had simple variables long ago. Declare a set of unique color names at the top of your CSS file, use those names everywhere else, and later changes would be a snap.