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

In a code challenge the question is "set the color of paragraphs to black using hexadecimal value".

so i set p { color: #ffffff; } it is not going to the next step please le me know the correct answer

css/main.css
a {
  text-decoration: none;
}

#wrapper {
  max-width: 940px;
  margin: 0 auto;
}

#logo {
  text-align: center;
  margin: 0;
}

h1,h2{
  color:#fff;
}
p {
  color:#ffffff;
}

3 Answers

morgan segura
PLUS
morgan segura
Courses Plus Student 6,934 Points

ffffff; is white try #000000;

p { color:#000; /* These are zeroes */ }

Thank you. It worked.

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,253 Points

Hi there...

The code for black in hexadecimal is all zeros...

Hexadecimal is based on a 16 point numbering system so it goes all the way up to F on a single hue of colour.

Put simply, the FF is for White, 00 is for black, so #000000 is the value you want. :-)

hi thank you .it worked

Sorry a bit late. Had a buddy with the same issue. Like the above said black is all zeros. Good reference on this is remembering black really has zero color according to a color wheel. Hope your getting along well!