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 do i set the paragraph color to black

I am not sure what to put in CSS.

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

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

#logo {
  text-align: center;
  margin: 0;
}
h1, h2 {
 color: #fff;
}

2 Answers

stjarnan
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
stjarnan
Front End Web Development Techdegree Graduate 56,488 Points

Hi Wayne!

It takes a while to get a grasp of it, just keep at it! :)

To style your paragraph black, you target the paragraph with a 'p' (like in paragraph) - and then to set it to black you can use "color: black;", or "color: #000"/"color:#000000" - the zeros are the hexadecimal value for black, but the word black works fine too!

like this:

p {
   color: #000
}

Hope that helps, and good luck!