#485952 Color
Color Codes | |
---|---|
Hex Code | #485952 |
RGB Code | rgb(72, 89, 82) |
HSL Code | hsl(155, 11%, 32%) |
#485952 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(72, 89, 82); }
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(155, 11%, 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 #485952
RGB Code | Hex Code | Preview |
---|---|---|
rgb(72, 89, 82, 10%) | #4859521a | |
rgb(72, 89, 82, 20%) | #48595233 | |
rgb(72, 89, 82, 40%) | #4859524C | |
rgb(72, 89, 82, 60%) | #48595299 | |
rgb(72, 89, 82, 80%) | #485952CC | |
rgb(72, 89, 82, 100%) | #485952FF |
Saturated and desaturated colors of #485952
HSL Code | Preview |
---|---|
hsl(155, 10%, 32%) | |
hsl(155, 20%, 32%) | |
hsl(155, 40%, 32%) | |
hsl(155, 60%, 32%) | |
hsl(155, 80%, 32%) | |
hsl(155, 100%, 32%) |
#485952 Color Usage In CSS
body { color: #485952; } p { color: rgb(72, 89, 82); } header { border-bottom:1px solid #485952; }