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 trialcdatubo
550 PointsCSS Challenge task 2
When I asked to set the paragraph color to black, my instinct was to use this code: p {color: #111}
What's incorrect about this? From what I've seen online, that's correct. Kind of confused...
Thanks for the help!
3 Answers
Logan R
22,989 PointsTry using color: #000 as 000 is black and 111 is slightly black. #111 has 11 red, 11 blue and 11 green.
Jacob Miranda
19,392 PointsYou can use keywords for colors, so for code challenges you could just use the keyword "black" to get that color instead of using a hexadecimal value
**I just saw the tag says "Write Hexadecimal Colors" so I guess you shouldn't use keywords. I would stick to the full value, #000000 just to be safe.
Logan R
22,989 PointsFor this challenge, it says to specifically use hexadecimals.
cdatubo
550 PointsThanks guys! I had a huge DUH! moment after my pomodoro break lol .#000 worked :)