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 CSS Basics (2014) Understanding Values and Units Color Values Review

abbreviate hex value #cc7733

css

9 Answers

Caleb Kleveter
MOD
Caleb Kleveter
Treehouse Moderator 37,862 Points

You can abbreviate that to #c73. Is that what you wanted to know?

Thomas McNish
Thomas McNish
10,893 Points

You have to include the # in your answer.

The shorthand for this color is #c73. RGB triplets can be abbreviated if each of the Red, Green, and Blue hex pairs are the same. So when you use colors where there are three pairs, you can abbreviate each color channel using one character instead of two identical characters.

cc7733 is abbreviated to #c73.

Hope this helps! Mindy

yes. i thought l was wrong because l kept getting a wrong answer response.

Joseph Cox
Joseph Cox
5,367 Points

I'm also having this problem. "#c73" does not work.

Robert Homan
seal-mask
.a{fill-rule:evenodd;}techdegree
Robert Homan
Front End Web Development Techdegree Student 9,437 Points

Yea, hopefully a mod will see this and direct it to the proper individuals that handle the quizzes. The frustration is real, especially when you have a bit of a perfectionist personality, lol.

let me try it again, thank you Caleb.

thanks too Mindy.

It can be abbreviated to #c73

it can be abbreviated to #c73