#18ff7b Color
Color Codes | |
---|---|
Hex Code | #18ff7b |
RGB Code | rgb(24, 255, 123) |
HSL Code | hsl(146, 100%, 55%) |
#18ff7b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(24, 255, 123); }
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(146, 100%, 55%); }
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 #18ff7b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(24, 255, 123, 10%) | #18ff7b1a | |
rgb(24, 255, 123, 20%) | #18ff7b33 | |
rgb(24, 255, 123, 40%) | #18ff7b4C | |
rgb(24, 255, 123, 60%) | #18ff7b99 | |
rgb(24, 255, 123, 80%) | #18ff7bCC | |
rgb(24, 255, 123, 100%) | #18ff7bFF |
Saturated and desaturated colors of #18ff7b
HSL Code | Preview |
---|---|
hsl(146, 10%, 55%) | |
hsl(146, 20%, 55%) | |
hsl(146, 40%, 55%) | |
hsl(146, 60%, 55%) | |
hsl(146, 80%, 55%) | |
hsl(146, 100%, 55%) |
#18ff7b Color Usage In CSS
body { color: #18ff7b; } p { color: rgb(24, 255, 123); } header { border-bottom:1px solid #18ff7b; }