#15b114 Color
Color Codes | |
---|---|
Hex Code | #15b114 |
RGB Code | rgb(21, 177, 20) |
HSL Code | hsl(120, 80%, 39%) |
#15b114 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(21, 177, 20); }
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(120, 80%, 39%); }
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 #15b114
RGB Code | Hex Code | Preview |
---|---|---|
rgb(21, 177, 20, 10%) | #15b1141a | |
rgb(21, 177, 20, 20%) | #15b11433 | |
rgb(21, 177, 20, 40%) | #15b1144C | |
rgb(21, 177, 20, 60%) | #15b11499 | |
rgb(21, 177, 20, 80%) | #15b114CC | |
rgb(21, 177, 20, 100%) | #15b114FF |
Saturated and desaturated colors of #15b114
HSL Code | Preview |
---|---|
hsl(120, 10%, 39%) | |
hsl(120, 20%, 39%) | |
hsl(120, 40%, 39%) | |
hsl(120, 60%, 39%) | |
hsl(120, 80%, 39%) | |
hsl(120, 100%, 39%) |
#15b114 Color Usage In CSS
body { color: #15b114; } p { color: rgb(21, 177, 20); } header { border-bottom:1px solid #15b114; }