#8e651b Color
Color Codes | |
---|---|
Hex Code | #8e651b |
RGB Code | rgb(142, 101, 27) |
HSL Code | hsl(39, 68%, 33%) |
#8e651b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(142, 101, 27); }
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(39, 68%, 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 #8e651b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(142, 101, 27, 10%) | #8e651b1a | |
rgb(142, 101, 27, 20%) | #8e651b33 | |
rgb(142, 101, 27, 40%) | #8e651b4C | |
rgb(142, 101, 27, 60%) | #8e651b99 | |
rgb(142, 101, 27, 80%) | #8e651bCC | |
rgb(142, 101, 27, 100%) | #8e651bFF |
Saturated and desaturated colors of #8e651b
HSL Code | Preview |
---|---|
hsl(39, 10%, 33%) | |
hsl(39, 20%, 33%) | |
hsl(39, 40%, 33%) | |
hsl(39, 60%, 33%) | |
hsl(39, 80%, 33%) | |
hsl(39, 100%, 33%) |
#8e651b Color Usage In CSS
body { color: #8e651b; } p { color: rgb(142, 101, 27); } header { border-bottom:1px solid #8e651b; }