#406807 Color
Color Codes | |
---|---|
Hex Code | #406807 |
RGB Code | rgb(64, 104, 07) |
HSL Code | hsl(85, 87%, 22%) |
#406807 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(64, 104, 07); }
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(85, 87%, 22%); }
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 #406807
RGB Code | Hex Code | Preview |
---|---|---|
rgb(64, 104, 07, 10%) | #4068071a | |
rgb(64, 104, 07, 20%) | #40680733 | |
rgb(64, 104, 07, 40%) | #4068074C | |
rgb(64, 104, 07, 60%) | #40680799 | |
rgb(64, 104, 07, 80%) | #406807CC | |
rgb(64, 104, 07, 100%) | #406807FF |
Saturated and desaturated colors of #406807
HSL Code | Preview |
---|---|
hsl(85, 10%, 22%) | |
hsl(85, 20%, 22%) | |
hsl(85, 40%, 22%) | |
hsl(85, 60%, 22%) | |
hsl(85, 80%, 22%) | |
hsl(85, 100%, 22%) |
#406807 Color Usage In CSS
body { color: #406807; } p { color: rgb(64, 104, 07); } header { border-bottom:1px solid #406807; }