SyntaxStudy
Sign Up
Home CSS Exercises CSS Colors

CSS Colors

Beginner

Fill in the CSS color syntax.

A pure red color in hex is .

White in RGB is rgb(, , ).

A color with 50% transparency uses the function with a 4th parameter between 0 and 1.

The CSS property to set text color is .

The CSS property to set background color is .