#123b22 Color
Color Codes | |
---|---|
Hex Code | #123b22 |
RGB Code | rgb(18, 59, 34) |
HSL Code | hsl(143, 53%, 15%) |
#123b22 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 59, 34); }
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(143, 53%, 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 #123b22
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 59, 34, 10%) | #123b221a | |
rgb(18, 59, 34, 20%) | #123b2233 | |
rgb(18, 59, 34, 40%) | #123b224C | |
rgb(18, 59, 34, 60%) | #123b2299 | |
rgb(18, 59, 34, 80%) | #123b22CC | |
rgb(18, 59, 34, 100%) | #123b22FF |
Saturated and desaturated colors of #123b22
HSL Code | Preview |
---|---|
hsl(143, 10%, 15%) | |
hsl(143, 20%, 15%) | |
hsl(143, 40%, 15%) | |
hsl(143, 60%, 15%) | |
hsl(143, 80%, 15%) | |
hsl(143, 100%, 15%) |
#123b22 Color Usage In CSS
body { color: #123b22; } p { color: rgb(18, 59, 34); } header { border-bottom:1px solid #123b22; }