Home
CSS
CSS Colors
HEX
Tryit: Shades of gray
Run ❯
Get your
own
website
Result Size:
625 x 534
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
<!DOCTYPE html> <html> <body> <h1>Shades of gray</h1> <p>By using equal values for red, green, and blue, you will get different shades of gray:</p> <h2 style="background-color:#3c3c3c;">#3c3c3c</h2> <h2 style="background-color:#616161;">#616161</h2> <h2 style="background-color:#787878;">#787878</h2> <h2 style="background-color:#b4b4b4;">#b4b4b4</h2> <h2 style="background-color:#f0f0f0;">#f0f0f0</h2> <h2 style="background-color:#f9f9f9;">#f9f9f9</h2> </body> </html>