Some colours can be specified by name, e.g., background-color: red;
background-color: red;
Note that the color name is not enclosed in quotes, i.e., it is red and not 'red'.
red
'red'
Select named colours, some of which are used in the starter project, include:
darkslategray
gold
goldenrod
hotpink
lightcyan
lightgray
lightgreen
mediumvioletred
skyblue
white
whitesmoke
yellowgreen
A full list of named colours can be found in the MDN Web Docs References - <named-color> (External link)
There was an error while loading. Please reload this page.