Introduction to Colors

Colors are extremely important in design, which is why CSS provides several ways to specify colors. These methods include:

  • Named colors - blue, green, etc.
  • RGB colors - Describing the red, green, and blue components that together create the final color.
  • Hexadecimal colors - Another format for RGB colors.
  • HSL colors - Describing the hue, saturation, and lightness of a color. These components together create the final color.

In the following exercises, we will explore how to apply colors and the advantages and disadvantages of each method of specifying colors.

Instructions

When you're ready, move on to the next exercise!

Start programming for free

By signing up, you agree to the Terms of Service and Privacy Policy.

Or sign up with:

1/8

Introduction to Colors | Start Coder