#8cd35c Color
Color Codes | |
---|---|
Hex Code | #8cd35c |
RGB Code | rgb(140, 211, 92) |
HSL Code | hsl(96, 57%, 59%) |
#8cd35c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(140, 211, 92); }
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(96, 57%, 59%); }
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 #8cd35c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(140, 211, 92, 10%) | #8cd35c1a | |
rgb(140, 211, 92, 20%) | #8cd35c33 | |
rgb(140, 211, 92, 40%) | #8cd35c4C | |
rgb(140, 211, 92, 60%) | #8cd35c99 | |
rgb(140, 211, 92, 80%) | #8cd35cCC | |
rgb(140, 211, 92, 100%) | #8cd35cFF |
Saturated and desaturated colors of #8cd35c
HSL Code | Preview |
---|---|
hsl(96, 10%, 59%) | |
hsl(96, 20%, 59%) | |
hsl(96, 40%, 59%) | |
hsl(96, 60%, 59%) | |
hsl(96, 80%, 59%) | |
hsl(96, 100%, 59%) |
#8cd35c Color Usage In CSS
body { color: #8cd35c; } p { color: rgb(140, 211, 92); } header { border-bottom:1px solid #8cd35c; }