#48a554 Color
Color Codes | |
---|---|
Hex Code | #48a554 |
RGB Code | rgb(72, 165, 84) |
HSL Code | hsl(128, 39%, 46%) |
#48a554 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(72, 165, 84); }
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, 39%, 46%); }
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 #48a554
RGB Code | Hex Code | Preview |
---|---|---|
rgb(72, 165, 84, 10%) | #48a5541a | |
rgb(72, 165, 84, 20%) | #48a55433 | |
rgb(72, 165, 84, 40%) | #48a5544C | |
rgb(72, 165, 84, 60%) | #48a55499 | |
rgb(72, 165, 84, 80%) | #48a554CC | |
rgb(72, 165, 84, 100%) | #48a554FF |
Saturated and desaturated colors of #48a554
HSL Code | Preview |
---|---|
hsl(128, 10%, 46%) | |
hsl(128, 20%, 46%) | |
hsl(128, 40%, 46%) | |
hsl(128, 60%, 46%) | |
hsl(128, 80%, 46%) | |
hsl(128, 100%, 46%) |
#48a554 Color Usage In CSS
body { color: #48a554; } p { color: rgb(72, 165, 84); } header { border-bottom:1px solid #48a554; }