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

I'm stuck on the chal q: "Set the color of paragraphs to black using a hexadecimal value." I don't recall paragraphs...

Sorry for the simple/stupid question in advance

2 Answers

John Steer-Fowler
PLUS
John Steer-Fowler
Courses Plus Student 11,734 Points

Hey Ben,

No question is a stupid question

I don't want to give you the answer, but I will give you a hint. What letter does the word paragraph start with? :D

Keep up the good work

Thank, John. I tried using this but just have the feeling i'm on the wrong track.

p { color: #111 }

Shawn Flanigan
Shawn Flanigan
Courses Plus Student 15,815 Points

Right track, but wrong hex number. Since black is the absence of light, you'll want to set your value to #000. Also, don't forget your semi-colon.

Stephen Blank
Stephen Blank
16,286 Points

one more hint, here is the w3c page on colors, including hex for common colors.

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