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

Hi guys! Does anyone know how to set the color of paragraphs to black using a hexadecimal value?

I thought it was p..

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: #fff
}

Hi Daphne, It looks like you're missing the semi colon's off the end of your statements.

Liam

5 Answers

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi Daphne Cornelisse! First of all, you're doing great. Liam Topham is correct. You're missing a couple of semicolons. But the bigger problem here is that you didn't set your paragraph to black... you set it to white! :smiley: Remember white is the reflection of all colors simultaneously. Black is the absorption of all colors. So white is #fff and black is #000. Take a look:

h1,h2 {

  color: #fff;
}

p {
  color: #000;
}

Happy coding! :dizzy:

Thanks Jennifer! I got it !

Would you like to have a chat? Add me on facebook; Daphne Cornelisse :)

color: #000;

Thanks!

Semicolons! :) But if it's one line it should work anyways.

Heres the wheel

You got hex and rgb.

It will tell you what hex it is , the current color, as well as rgb, which is usefull if you want to make the color transparent.

Thank you Konrad!

If anyone is interested to join a slack channel here feel free to do so! We help each other, chat about the code, and other things, and overall, knowing other people in the same field :)

Hi, I subscribed to slack, I made an account.. but what to do now?

Hi, What is your nickname on slack? Check your email and you can either log into it from the browser, or with a desktop app.

My nickname is just daphne .. cant find you

Iv send you a message on slack.