#4ea980 Color
Color Codes | |
---|---|
Hex Code | #4ea980 |
RGB Code | rgb(78, 169, 128) |
HSL Code | hsl(153, 37%, 48%) |
#4ea980 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(78, 169, 128); }
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(153, 37%, 48%); }
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 #4ea980
RGB Code | Hex Code | Preview |
---|---|---|
rgb(78, 169, 128, 10%) | #4ea9801a | |
rgb(78, 169, 128, 20%) | #4ea98033 | |
rgb(78, 169, 128, 40%) | #4ea9804C | |
rgb(78, 169, 128, 60%) | #4ea98099 | |
rgb(78, 169, 128, 80%) | #4ea980CC | |
rgb(78, 169, 128, 100%) | #4ea980FF |
Saturated and desaturated colors of #4ea980
HSL Code | Preview |
---|---|
hsl(153, 10%, 48%) | |
hsl(153, 20%, 48%) | |
hsl(153, 40%, 48%) | |
hsl(153, 60%, 48%) | |
hsl(153, 80%, 48%) | |
hsl(153, 100%, 48%) |
#4ea980 Color Usage In CSS
body { color: #4ea980; } p { color: rgb(78, 169, 128); } header { border-bottom:1px solid #4ea980; }