#406328 Color
Color Codes | |
---|---|
Hex Code | #406328 |
RGB Code | rgb(64, 99, 40) |
HSL Code | hsl(96, 42%, 27%) |
#406328 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(64, 99, 40); }
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(96, 42%, 27%); }
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 #406328
RGB Code | Hex Code | Preview |
---|---|---|
rgb(64, 99, 40, 10%) | #4063281a | |
rgb(64, 99, 40, 20%) | #40632833 | |
rgb(64, 99, 40, 40%) | #4063284C | |
rgb(64, 99, 40, 60%) | #40632899 | |
rgb(64, 99, 40, 80%) | #406328CC | |
rgb(64, 99, 40, 100%) | #406328FF |
Saturated and desaturated colors of #406328
HSL Code | Preview |
---|---|
hsl(96, 10%, 27%) | |
hsl(96, 20%, 27%) | |
hsl(96, 40%, 27%) | |
hsl(96, 60%, 27%) | |
hsl(96, 80%, 27%) | |
hsl(96, 100%, 27%) |
#406328 Color Usage In CSS
body { color: #406328; } p { color: rgb(64, 99, 40); } header { border-bottom:1px solid #406328; }