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

CSS How to Make a Website Customizing Colors and Fonts Write Hexadecimal Colors

How do you do this challange?

Set the color of paragraphs to black using a hexadecimal value.

EDIT: what I am having troble with is applying #000to all my paragraphs.

Thanks

5 Answers

or

p { color: #000; }

should be #000000;

Thank you Richard Dale, you answered my question!

No worries, out of interest white would be #fff

when the last three characters are the same they can be left off.

Kenneth Love
Kenneth Love
Treehouse Guest Teacher

It's not "the last three", but whether or not both characters in a pair are the same.

If I want a light yellow, say #FFEE66, I can abbreviate that as #FE6 because all three pairs (one for red, one for green, one for blue) have duplicate values.

This has to be true for all three pairs, though, you can't do something like #FE62

Thanks again, I changed it (again) in the original question. I best state that here, just so you don't look like you don;t know what you are talking about!