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

Elnaz Saeidi
PLUS
Elnaz Saeidi
Courses Plus Student 482 Points

i don't know whats the number of black color and whats meaning that they said do paragraph <p> i black

plz help me

css/main.css
a {
  text-decoration: none;
}
#wrapper {
  max-width: 940px;
  margin: 0 auto;
}

#logo {
  text-align: center;
  margin: 0;
}
header {
  background-color: 23ab53d
  border-color: 23ab43
}
h1 , h2 {
  color: #fff
}
nav {
  color:#fff
}

2 Answers

Jack McDowell
Jack McDowell
37,797 Points

The code for black is #000 so you would add this at the end:

p {
color:#000
}
Jack McDowell
Jack McDowell
37,797 Points

A good way about thinking about it is that 0 is a lack of a value so for a hexadecimal color #000000 is 0 red, 0 green, 0 blue.

Since hexadecimal values go 0123456789abcdef, #FFFFFF is white, think about it as 100% red, 100% green and 100% blue.

By mixing the values for any different RGB color you can make other colors, for instance #00FF00 would be green, #0000FF would be blue, and so on...