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 trialChase Donohue
2,520 PointsI am having trouble Setting the color of paragraphs to black using a hexadecimal value. What should this look like?
I currently have it set to p {color: 111111;} I received the following error. Double check that you've styled paragraph (p) elements to be black with a hexidecimal value. What is incorrect?
3 Answers
Jason Jones
18,663 PointsYou have two issues:
- The correct hex value for is #000000.
- You forget the '#'
John Leskas
24,093 PointsAlso if you have color values like #33333 , #000000, #cccccc , you can also use them with the shorthand #333, #000 and #ccc for example. In a big css file with many values, you save some space in the final file.
Chase Donohue
2,520 Pointsgot it thank you very much!