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 trialzorry
2,867 PointsWhat is the rgb of black and white? :(
I took the quiz, it asked what is pure white and black, I put FFF and 000, but I kept getting it wrong. I just gave up. I looked online and on the video, it says white is FFFFFF and black is 000000, can someone tell me what i was supposed to put then? It said rgb( ? , ? , ?) for white and rbg (?,?,?) for black.
4 Answers
Steingrímur F. Stefánsson
Front End Web Development Techdegree Graduate 33,699 PointsHi Zainub.
RGB white is rgb(255,255,255); RGB black is rgb(0,0,0);
Hope this helps :)
Ryan Field
Courses Plus Student 21,242 PointsThe RGB values for black and white are rgb(0, 0, 0)
and rgb(255, 255, 255)
, respectively. :)
Diane Houghton
5,773 PointsOops, 255
Diane Houghton
5,773 PointsDid you use #? #fff and #000. Also, rgb(256,256,256) is white, rgb(0,0,0) is black
Steingrímur F. Stefánsson
Front End Web Development Techdegree Graduate 33,699 PointsHi Diane.
RGB values doesn't go higher than 255.
Regards Steingrímur
zorry
2,867 Pointszorry
2,867 PointsTHANK YOU. I kept putting F, that must be why I got it wrong. That was frustrating me a lot.
Tyler Groskreutz
14,793 PointsTyler Groskreutz
14,793 PointsZainub Baig. F is in the Hex value for white. So you may be confusing #FFFFFF or #FFF shorthand (white) with rgb(255,255,255); (also white) and #000 (Black) with rgb(0,0,0); (also Black). The two letters/number blocks in hex values correlate with RGB. So in the hex #169BCE, 16 is the amount of red, 9B is the amount of green, and CE is the amount of blue in the color.