#28d15a Color
Color Codes | |
---|---|
Hex Code | #28d15a |
RGB Code | rgb(40, 209, 90) |
HSL Code | hsl(138, 68%, 49%) |
#28d15a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(40, 209, 90); }
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(138, 68%, 49%); }
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 #28d15a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(40, 209, 90, 10%) | #28d15a1a | |
rgb(40, 209, 90, 20%) | #28d15a33 | |
rgb(40, 209, 90, 40%) | #28d15a4C | |
rgb(40, 209, 90, 60%) | #28d15a99 | |
rgb(40, 209, 90, 80%) | #28d15aCC | |
rgb(40, 209, 90, 100%) | #28d15aFF |
Saturated and desaturated colors of #28d15a
HSL Code | Preview |
---|---|
hsl(138, 10%, 49%) | |
hsl(138, 20%, 49%) | |
hsl(138, 40%, 49%) | |
hsl(138, 60%, 49%) | |
hsl(138, 80%, 49%) | |
hsl(138, 100%, 49%) |
#28d15a Color Usage In CSS
body { color: #28d15a; } p { color: rgb(40, 209, 90); } header { border-bottom:1px solid #28d15a; }