#1cf814 Color
Color Codes | |
---|---|
Hex Code | #1cf814 |
RGB Code | rgb(28, 248, 20) |
HSL Code | hsl(118, 94%, 53%) |
#1cf814 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(28, 248, 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(118, 94%, 53%); }
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 #1cf814
RGB Code | Hex Code | Preview |
---|---|---|
rgb(28, 248, 20, 10%) | #1cf8141a | |
rgb(28, 248, 20, 20%) | #1cf81433 | |
rgb(28, 248, 20, 40%) | #1cf8144C | |
rgb(28, 248, 20, 60%) | #1cf81499 | |
rgb(28, 248, 20, 80%) | #1cf814CC | |
rgb(28, 248, 20, 100%) | #1cf814FF |
Saturated and desaturated colors of #1cf814
HSL Code | Preview |
---|---|
hsl(118, 10%, 53%) | |
hsl(118, 20%, 53%) | |
hsl(118, 40%, 53%) | |
hsl(118, 60%, 53%) | |
hsl(118, 80%, 53%) | |
hsl(118, 100%, 53%) |
#1cf814 Color Usage In CSS
body { color: #1cf814; } p { color: rgb(28, 248, 20); } header { border-bottom:1px solid #1cf814; }