#40820b Color
Color Codes | |
---|---|
Hex Code | #40820b |
RGB Code | rgb(64, 130, 11) |
HSL Code | hsl(93, 84%, 28%) |
#40820b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(64, 130, 11); }
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(93, 84%, 28%); }
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 #40820b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(64, 130, 11, 10%) | #40820b1a | |
rgb(64, 130, 11, 20%) | #40820b33 | |
rgb(64, 130, 11, 40%) | #40820b4C | |
rgb(64, 130, 11, 60%) | #40820b99 | |
rgb(64, 130, 11, 80%) | #40820bCC | |
rgb(64, 130, 11, 100%) | #40820bFF |
Saturated and desaturated colors of #40820b
HSL Code | Preview |
---|---|
hsl(93, 10%, 28%) | |
hsl(93, 20%, 28%) | |
hsl(93, 40%, 28%) | |
hsl(93, 60%, 28%) | |
hsl(93, 80%, 28%) | |
hsl(93, 100%, 28%) |
#40820b Color Usage In CSS
body { color: #40820b; } p { color: rgb(64, 130, 11); } header { border-bottom:1px solid #40820b; }