#171012 Color
Color Codes | |
---|---|
Hex Code | #171012 |
RGB Code | rgb(23, 16, 18) |
HSL Code | hsl(343, 18%, 8%) |
#171012 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(23, 16, 18); }
R(red), G(green), B(blue) can be number between 0-255.
A parameter is a hex characters (0–9, A–F) and optional.
hsl()
hsl(hue saturation lightness); hsl(hue saturation lightness / alpha); div { background-color: hsl(343, 18%, 8%); }
Saturation value is a percentage value between 0% unsaturated and 100% fully saturated.
Lightness value is a percentage value between 100% is white and 0% is black.
Lighter and darker colors of #171012
RGB Code | Hex Code | Preview |
---|---|---|
rgb(23, 16, 18, 10%) | #1710121a | |
rgb(23, 16, 18, 20%) | #17101233 | |
rgb(23, 16, 18, 40%) | #1710124C | |
rgb(23, 16, 18, 60%) | #17101299 | |
rgb(23, 16, 18, 80%) | #171012CC | |
rgb(23, 16, 18, 100%) | #171012FF |
Saturated and desaturated colors of #171012
HSL Code | Preview |
---|---|
hsl(343, 10%, 8%) | |
hsl(343, 20%, 8%) | |
hsl(343, 40%, 8%) | |
hsl(343, 60%, 8%) | |
hsl(343, 80%, 8%) | |
hsl(343, 100%, 8%) |
#171012 Color Usage In CSS
body { color: #171012; } p { color: rgb(23, 16, 18); } header { border-bottom:1px solid #171012; }