Are there any cons to using color names in place of color codes in CSS?

Viewed 8578

For example writing red is more efficient than #cc0000. It has less characters, takes up less space, and is easier to remember.

Are there any down sides to using color names over hex codes or RGB values? This includes programming in a multi-developer environment.

11 Answers

I believe that using hex codes is more useful than color names because let's say if you want use red color and you use "red" for color value, but you don't like that predefined red color, you want something lighter or darker so hex codes are really Good for that.

Once you have your own red color of choice, you will remember that hex code everytime you want to use it rather than using the color name.

Related