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

Gordia Smith
Gordia Smith
2,238 Points

Challenge Task Question stumping me for some reason for CSS.

Here is what the question is saying:

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

This is what I am getting back:

Bummer! Double check that you've styled paragraph (p) elements to be black with a hexidecimal value.

Here is what I was trying to do, at this point I have even researched online for other ways to do it. Am I just not understanding the question? I even tried to 'style' it which I didn't think was used on the .css.

p { color: #111111; }

4 Answers

You're using the wrong hex value. Complete black is #000000

Mitchell Springer
Mitchell Springer
2,576 Points

The hex code for black is all 0's

p {
  color: #000000;
}

I like to use http://html-color-codes.info/ when I'm trying to figure out color codes.

You've got most of it right however #111111 isn't quite black it's a very dark grey.... think 0 colour.

Gordia Smith
Gordia Smith
2,238 Points

Oi...thanks folks! Now if I can just get my 'float' and size to work on the next part I will be in good shape I think.

Thanks again and sorry for the silly question.