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

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

how "Set the color of paragraphs to black using the p selector and a hexadecimal value". I didn't see that in video...

I really don't remember that I used p selector or changed anything to color black in any video. so can anyone help me? cant do quiz because of that

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

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

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

h1, h2, {
  color: #fff;
}

1 Answer

Andreas Nyström
Andreas Nyström
8,887 Points

Hi.

You're already on it! It's the same way you are setting the headings (h1, h2). The hex for black is #00000 (or #000 for short). So the code should look something like this:

p {
  color: #000000;
}

lol, that was easy, I tried that too but used only three 0, instead of 6. thx I will try it right away