#958840 Color
Color Codes | |
---|---|
Hex Code | #958840 |
RGB Code | rgb(149, 136, 64) |
HSL Code | hsl(51, 40%, 42%) |
#958840 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(149, 136, 64); }
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(51, 40%, 42%); }
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 #958840
RGB Code | Hex Code | Preview |
---|---|---|
rgb(149, 136, 64, 10%) | #9588401a | |
rgb(149, 136, 64, 20%) | #95884033 | |
rgb(149, 136, 64, 40%) | #9588404C | |
rgb(149, 136, 64, 60%) | #95884099 | |
rgb(149, 136, 64, 80%) | #958840CC | |
rgb(149, 136, 64, 100%) | #958840FF |
Saturated and desaturated colors of #958840
HSL Code | Preview |
---|---|
hsl(51, 10%, 42%) | |
hsl(51, 20%, 42%) | |
hsl(51, 40%, 42%) | |
hsl(51, 60%, 42%) | |
hsl(51, 80%, 42%) | |
hsl(51, 100%, 42%) |
#958840 Color Usage In CSS
body { color: #958840; } p { color: rgb(149, 136, 64); } header { border-bottom:1px solid #958840; }