#242f1e Color
Color Codes | |
---|---|
Hex Code | #242f1e |
RGB Code | rgb(36, 47, 30) |
HSL Code | hsl(99, 22%, 15%) |
#242f1e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(36, 47, 30); }
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(99, 22%, 15%); }
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 #242f1e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(36, 47, 30, 10%) | #242f1e1a | |
rgb(36, 47, 30, 20%) | #242f1e33 | |
rgb(36, 47, 30, 40%) | #242f1e4C | |
rgb(36, 47, 30, 60%) | #242f1e99 | |
rgb(36, 47, 30, 80%) | #242f1eCC | |
rgb(36, 47, 30, 100%) | #242f1eFF |
Saturated and desaturated colors of #242f1e
HSL Code | Preview |
---|---|
hsl(99, 10%, 15%) | |
hsl(99, 20%, 15%) | |
hsl(99, 40%, 15%) | |
hsl(99, 60%, 15%) | |
hsl(99, 80%, 15%) | |
hsl(99, 100%, 15%) |
#242f1e Color Usage In CSS
body { color: #242f1e; } p { color: rgb(36, 47, 30); } header { border-bottom:1px solid #242f1e; }