Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed CSS Basics!
You have completed CSS Basics!
Preview
Color plays an important role in web design, and with CSS, we can describe a color value in different ways. The three most common ways are with a keyword, a hexadecimal value, or an rgb function.
Further reading
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
The three most common ways
are with a keyword,
0:00
a hexadecimal value,
or an RGB function.
0:02
So far we've used keywords to
represent colors in our CSS.
0:07
Seagreen, peachpuff, darkblue,
0:12
lightcoral, tomato, snow, orange.
0:17
These are all accepted keyword
values found in our CSS.
0:23
For a full list of the
available color keywords,
0:29
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up