#28c756 Color
Color Codes | |
---|---|
Hex Code | #28c756 |
RGB Code | rgb(40, 199, 86) |
HSL Code | hsl(137, 67%, 47%) |
#28c756 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(40, 199, 86); }
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, 67%, 47%); }
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 #28c756
RGB Code | Hex Code | Preview |
---|---|---|
rgb(40, 199, 86, 10%) | #28c7561a | |
rgb(40, 199, 86, 20%) | #28c75633 | |
rgb(40, 199, 86, 40%) | #28c7564C | |
rgb(40, 199, 86, 60%) | #28c75699 | |
rgb(40, 199, 86, 80%) | #28c756CC | |
rgb(40, 199, 86, 100%) | #28c756FF |
Saturated and desaturated colors of #28c756
HSL Code | Preview |
---|---|
hsl(137, 10%, 47%) | |
hsl(137, 20%, 47%) | |
hsl(137, 40%, 47%) | |
hsl(137, 60%, 47%) | |
hsl(137, 80%, 47%) | |
hsl(137, 100%, 47%) |
#28c756 Color Usage In CSS
body { color: #28c756; } p { color: rgb(40, 199, 86); } header { border-bottom:1px solid #28c756; }