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

in the rgb function the value rgb represent ------100%white while value rgb represent --------------100% black.

css rgb values

2 Answers

The previous answer is correct. RGB (0,0,0) is the absence of all color.and is black because nothing is reflected. White reflects the full spectrum. RGB (255, 0,0) for instance, is reg because the full red spectrum is reflected back. be sure to use proper notation when answering.

RGB(255, 255, 255) = 100% White RGB (0, 0, 0) = 100% Black