color: red;
color: orange;
color: tan;
color: rebeccapurple;
color: transparent;`<named-color>` CSS type / notebook
`<named-color>` CSS type
Runnable notebook: every JavaScript, HTML and CSS example on this page executes in a sandboxed local frame. Nothing leaves the browser.
<div id="container">
<div id="one"></div>
<div id="two"></div>
<div id="three"></div>
</div>#container {
display: flex;
justify-content: space-around;
background-color: darkslateblue;
padding: 20px;
}
#container > div {
height: 100px;
width: 100px;
margin: 3px;
border: 2px solid black;
}
#one {
background-color: red;
}
#two {
background-color: lavender;
}
#three {
background-color: transparent;
}