#39aa48 Color
Color Codes | |
---|---|
Hex Code | #39aa48 |
RGB Code | rgb(57, 170, 72) |
HSL Code | hsl(128, 50%, 45%) |
#39aa48 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(57, 170, 72); }
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(128, 50%, 45%); }
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 #39aa48
RGB Code | Hex Code | Preview |
---|---|---|
rgb(57, 170, 72, 10%) | #39aa481a | |
rgb(57, 170, 72, 20%) | #39aa4833 | |
rgb(57, 170, 72, 40%) | #39aa484C | |
rgb(57, 170, 72, 60%) | #39aa4899 | |
rgb(57, 170, 72, 80%) | #39aa48CC | |
rgb(57, 170, 72, 100%) | #39aa48FF |
Saturated and desaturated colors of #39aa48
HSL Code | Preview |
---|---|
hsl(128, 10%, 45%) | |
hsl(128, 20%, 45%) | |
hsl(128, 40%, 45%) | |
hsl(128, 60%, 45%) | |
hsl(128, 80%, 45%) | |
hsl(128, 100%, 45%) |
#39aa48 Color Usage In CSS
body { color: #39aa48; } p { color: rgb(57, 170, 72); } header { border-bottom:1px solid #39aa48; }