WeCodeAcademy

Colours and Backgrounds

Colours can be names (tomato), hex codes (#04AA6D) or rgb() values. Use color for text and background-color for the background.

Examplehtml
Open in editor »
Quick check

Which property sets the text colour?

Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.

Tip: use the left and right arrow keys to move between lessons.