#242616 Color
Color Codes | |
---|---|
Hex Code | #242616 |
RGB Code | rgb(36, 38, 22) |
HSL Code | hsl(68, 27%, 12%) |
#242616 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(36, 38, 22); }
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(68, 27%, 12%); }
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 #242616
RGB Code | Hex Code | Preview |
---|---|---|
rgb(36, 38, 22, 10%) | #2426161a | |
rgb(36, 38, 22, 20%) | #24261633 | |
rgb(36, 38, 22, 40%) | #2426164C | |
rgb(36, 38, 22, 60%) | #24261699 | |
rgb(36, 38, 22, 80%) | #242616CC | |
rgb(36, 38, 22, 100%) | #242616FF |
Saturated and desaturated colors of #242616
HSL Code | Preview |
---|---|
hsl(68, 10%, 12%) | |
hsl(68, 20%, 12%) | |
hsl(68, 40%, 12%) | |
hsl(68, 60%, 12%) | |
hsl(68, 80%, 12%) | |
hsl(68, 100%, 12%) |
#242616 Color Usage In CSS
body { color: #242616; } p { color: rgb(36, 38, 22); } header { border-bottom:1px solid #242616; }