#386a51 Color
Color Codes | |
---|---|
Hex Code | #386a51 |
RGB Code | rgb(56, 106, 81) |
HSL Code | hsl(150, 31%, 32%) |
#386a51 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(56, 106, 81); }
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(150, 31%, 32%); }
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 #386a51
RGB Code | Hex Code | Preview |
---|---|---|
rgb(56, 106, 81, 10%) | #386a511a | |
rgb(56, 106, 81, 20%) | #386a5133 | |
rgb(56, 106, 81, 40%) | #386a514C | |
rgb(56, 106, 81, 60%) | #386a5199 | |
rgb(56, 106, 81, 80%) | #386a51CC | |
rgb(56, 106, 81, 100%) | #386a51FF |
Saturated and desaturated colors of #386a51
HSL Code | Preview |
---|---|
hsl(150, 10%, 32%) | |
hsl(150, 20%, 32%) | |
hsl(150, 40%, 32%) | |
hsl(150, 60%, 32%) | |
hsl(150, 80%, 32%) | |
hsl(150, 100%, 32%) |
#386a51 Color Usage In CSS
body { color: #386a51; } p { color: rgb(56, 106, 81); } header { border-bottom:1px solid #386a51; }