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 trialMUZ140877 Nokuthula Mahlangu
6,149 Pointsabbreviate hex value #cc7733
css
9 Answers
Caleb Kleveter
Treehouse Moderator 37,862 PointsYou can abbreviate that to #c73. Is that what you wanted to know?
Thomas McNish
10,893 PointsYou have to include the # in your answer.
Mindy Sandilands
15,743 PointsThe 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
MUZ140877 Nokuthula Mahlangu
6,149 Pointsyes. i thought l was wrong because l kept getting a wrong answer response.
Robert Homan
Front End Web Development Techdegree Student 9,437 PointsI keep trying that because I already know the answer, but it keeps giving a wrong response. This was my exact response "#c73".
Joseph Cox
5,367 PointsI'm also having this problem. "#c73" does not work.
Robert Homan
Front End Web Development Techdegree Student 9,437 PointsYea, 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.
MUZ140877 Nokuthula Mahlangu
6,149 Pointslet me try it again, thank you Caleb.
MUZ140877 Nokuthula Mahlangu
6,149 Pointsthanks too Mindy.
Benjamin LeBlanc
1,288 PointsIt can be abbreviated to #c73
Elisha Ajayi
3,433 Pointsit can be abbreviated to #c73