Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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?