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

Walter Gabriello
PLUS
Walter Gabriello
Courses Plus Student 508 Points

How to set the color of paragraphs to black using a hexadecimal value?

I'm stuck at challenge task 2of4 on customising colors and fonts. I cant figure it out I need your help, Thank you~ Below is the link https://teamtreehouse.com/library/write-hexadecimal-colors

2 Answers

Sam Baines
Sam Baines
4,315 Points

Hi Walter - the code you would be needing to set paragraph text color to black using hexadecimal code is as follows:

p {
color: #000;
}

Hope this helps.

p { color: #000; }

Sam Baines
Sam Baines
4,315 Points

Yaroslav - I'm curious, why are you answering a question that already has a best answer selected?