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

how to change the colour of the (p) text

need to know how to change the colour of the (p) text in the css and it was not explained how can I do this

it was explained many times just not with the p tag.

footer{
  color: green; 
}

was the first example of it given in the first video of the section changing the footer tag text color to green. it's the same thing for the p the selectors can mostly all use the same attributes and values with some exceptions

the p tag is simply

p {
  color: #ff000;
}

for hexidecimal values or

p {
  color: red;
}

for color word values.

2 Answers

Thank you both

should give Husein the best answer since he answered first I just wanted to help clarify it.