#120e17 Color
Color Codes | |
---|---|
Hex Code | #120e17 |
RGB Code | rgb(18, 14, 23) |
HSL Code | hsl(267, 24%, 7%) |
#120e17 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 14, 23); }
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(267, 24%, 7%); }
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 #120e17
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 14, 23, 10%) | #120e171a | |
rgb(18, 14, 23, 20%) | #120e1733 | |
rgb(18, 14, 23, 40%) | #120e174C | |
rgb(18, 14, 23, 60%) | #120e1799 | |
rgb(18, 14, 23, 80%) | #120e17CC | |
rgb(18, 14, 23, 100%) | #120e17FF |
Saturated and desaturated colors of #120e17
HSL Code | Preview |
---|---|
hsl(267, 10%, 7%) | |
hsl(267, 20%, 7%) | |
hsl(267, 40%, 7%) | |
hsl(267, 60%, 7%) | |
hsl(267, 80%, 7%) | |
hsl(267, 100%, 7%) |
#120e17 Color Usage In CSS
body { color: #120e17; } p { color: rgb(18, 14, 23); } header { border-bottom:1px solid #120e17; }