#868a20 Color
Color Codes | |
---|---|
Hex Code | #868a20 |
RGB Code | rgb(134, 138, 32) |
HSL Code | hsl(62, 62%, 33%) |
#868a20 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(134, 138, 32); }
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(62, 62%, 33%); }
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 #868a20
RGB Code | Hex Code | Preview |
---|---|---|
rgb(134, 138, 32, 10%) | #868a201a | |
rgb(134, 138, 32, 20%) | #868a2033 | |
rgb(134, 138, 32, 40%) | #868a204C | |
rgb(134, 138, 32, 60%) | #868a2099 | |
rgb(134, 138, 32, 80%) | #868a20CC | |
rgb(134, 138, 32, 100%) | #868a20FF |
Saturated and desaturated colors of #868a20
HSL Code | Preview |
---|---|
hsl(62, 10%, 33%) | |
hsl(62, 20%, 33%) | |
hsl(62, 40%, 33%) | |
hsl(62, 60%, 33%) | |
hsl(62, 80%, 33%) | |
hsl(62, 100%, 33%) |
#868a20 Color Usage In CSS
body { color: #868a20; } p { color: rgb(134, 138, 32); } header { border-bottom:1px solid #868a20; }