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 Use Color in CSS

Rishit Shah
Rishit Shah
4,975 Points

color appearing different than specified

I chose a blue shade for my header background and typed in the color code #599a68 for nav background. But instead of showing the greenish shade it shows grey color. what could be the possible reason for it?

1 Answer

Jonathan Grieve
MOD
Jonathan Grieve
Treehouse Moderator 91,253 Points

I'd have to see the code to go with the hexadecimal value but value seems correct.

Is it being overridden by another background value in your code? Perhaps a typo? Would you be able to post your code?

Rishit Shah
Rishit Shah
4,975 Points

Thank you for the answer Jonathan. You are right. It was being overridden by another background value in my code. My problem is solved.