#14220e Color
Color Codes | |
---|---|
Hex Code | #14220e |
RGB Code | rgb(20, 34, 14) |
HSL Code | hsl(102, 42%, 9%) |
#14220e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(20, 34, 14); }
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(102, 42%, 9%); }
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 #14220e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(20, 34, 14, 10%) | #14220e1a | |
rgb(20, 34, 14, 20%) | #14220e33 | |
rgb(20, 34, 14, 40%) | #14220e4C | |
rgb(20, 34, 14, 60%) | #14220e99 | |
rgb(20, 34, 14, 80%) | #14220eCC | |
rgb(20, 34, 14, 100%) | #14220eFF |
Saturated and desaturated colors of #14220e
HSL Code | Preview |
---|---|
hsl(102, 10%, 9%) | |
hsl(102, 20%, 9%) | |
hsl(102, 40%, 9%) | |
hsl(102, 60%, 9%) | |
hsl(102, 80%, 9%) | |
hsl(102, 100%, 9%) |
#14220e Color Usage In CSS
body { color: #14220e; } p { color: rgb(20, 34, 14); } header { border-bottom:1px solid #14220e; }