#48905c Color
Color Codes | |
---|---|
Hex Code | #48905c |
RGB Code | rgb(72, 144, 92) |
HSL Code | hsl(137, 33%, 42%) |
#48905c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(72, 144, 92); }
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(137, 33%, 42%); }
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 #48905c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(72, 144, 92, 10%) | #48905c1a | |
rgb(72, 144, 92, 20%) | #48905c33 | |
rgb(72, 144, 92, 40%) | #48905c4C | |
rgb(72, 144, 92, 60%) | #48905c99 | |
rgb(72, 144, 92, 80%) | #48905cCC | |
rgb(72, 144, 92, 100%) | #48905cFF |
Saturated and desaturated colors of #48905c
HSL Code | Preview |
---|---|
hsl(137, 10%, 42%) | |
hsl(137, 20%, 42%) | |
hsl(137, 40%, 42%) | |
hsl(137, 60%, 42%) | |
hsl(137, 80%, 42%) | |
hsl(137, 100%, 42%) |
#48905c Color Usage In CSS
body { color: #48905c; } p { color: rgb(72, 144, 92); } header { border-bottom:1px solid #48905c; }