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

Setting the color of paragraph to black using hexadecimal values (CSS)

Hey fellas, I'm stucked in Challenge task 2 of 4 and I'd appreciate help a lot, it says: Set the color of paragraph to black using hexadecimal values

My code be like

```body { background-color: #fff; color: #999; }

6 Answers

Sreng Hong
Sreng Hong
15,083 Points

Hi Max

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

So, you have to select the paragraph tags which is p and apply the text color which use property color, not background-color. Also, the hexadecimal value of color black is not #fff (it's white).

If you need more hints, please ask. Hope this helps.

if I not mistaken hexadecimal for black color is #000 and paragraph should be "p". Hope this help :)

Thanks! My dunderheaded thought was #111. It even looked correct in my workspace! :)

Thanks a lot fellas Sreng Hong Thunthon Monkata

p{ color: #000 }

p{ color: #000000; }

p { color:#000; }