#15f314 Color
Color Codes | |
---|---|
Hex Code | #15f314 |
RGB Code | rgb(21, 243, 20) |
HSL Code | hsl(120, 90%, 52%) |
#15f314 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(21, 243, 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, 90%, 52%); }
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 #15f314
RGB Code | Hex Code | Preview |
---|---|---|
rgb(21, 243, 20, 10%) | #15f3141a | |
rgb(21, 243, 20, 20%) | #15f31433 | |
rgb(21, 243, 20, 40%) | #15f3144C | |
rgb(21, 243, 20, 60%) | #15f31499 | |
rgb(21, 243, 20, 80%) | #15f314CC | |
rgb(21, 243, 20, 100%) | #15f314FF |
Saturated and desaturated colors of #15f314
HSL Code | Preview |
---|---|
hsl(120, 10%, 52%) | |
hsl(120, 20%, 52%) | |
hsl(120, 40%, 52%) | |
hsl(120, 60%, 52%) | |
hsl(120, 80%, 52%) | |
hsl(120, 100%, 52%) |
#15f314 Color Usage In CSS
body { color: #15f314; } p { color: rgb(21, 243, 20); } header { border-bottom:1px solid #15f314; }