Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Design

Useful tool for color codes

When creating a quick html/css layout I like to use named colors for backgrounds and borders because they're so much easier to recognize than hex codes (unless it's my "signature color" of #990000 ;-))

Example:

#body {background-color: SteelBlue; color: Honeydew}
#header {background-color: DarkOliveGreen;}
#nav {background-color: MediumSpringGreen;}
#wrapper {background-color: Crimson;}
#footer {background-color: Coral;}

The goal is not to develop an attractive color palette but to use color names that can be recognized at a glance.

So this is a great tool to remind me of named colors, thought others might find it useful:

http://cloford.com/resources/colours/500col.htm

Anyone else do this?

Happy coding!

2 Answers

James Barnett
James Barnett
39,199 Points

These are the only colors that have official names

http://www.w3.org/TR/css3-color/#svg-color

Thanks James, a good reminder (I wouldn't use named colors on a live site, this is just for working out layouts while learning css properly).