#386526 Color
Color Codes | |
---|---|
Hex Code | #386526 |
RGB Code | rgb(56, 101, 38) |
HSL Code | hsl(103, 45%, 27%) |
#386526 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(56, 101, 38); }
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(103, 45%, 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 #386526
RGB Code | Hex Code | Preview |
---|---|---|
rgb(56, 101, 38, 10%) | #3865261a | |
rgb(56, 101, 38, 20%) | #38652633 | |
rgb(56, 101, 38, 40%) | #3865264C | |
rgb(56, 101, 38, 60%) | #38652699 | |
rgb(56, 101, 38, 80%) | #386526CC | |
rgb(56, 101, 38, 100%) | #386526FF |
Saturated and desaturated colors of #386526
HSL Code | Preview |
---|---|
hsl(103, 10%, 27%) | |
hsl(103, 20%, 27%) | |
hsl(103, 40%, 27%) | |
hsl(103, 60%, 27%) | |
hsl(103, 80%, 27%) | |
hsl(103, 100%, 27%) |
#386526 Color Usage In CSS
body { color: #386526; } p { color: rgb(56, 101, 38); } header { border-bottom:1px solid #386526; }