#8cdc42 Color
Color Codes | |
---|---|
Hex Code | #8cdc42 |
RGB Code | rgb(140, 220, 66) |
HSL Code | hsl(91, 69%, 56%) |
#8cdc42 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(140, 220, 66); }
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(91, 69%, 56%); }
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 #8cdc42
RGB Code | Hex Code | Preview |
---|---|---|
rgb(140, 220, 66, 10%) | #8cdc421a | |
rgb(140, 220, 66, 20%) | #8cdc4233 | |
rgb(140, 220, 66, 40%) | #8cdc424C | |
rgb(140, 220, 66, 60%) | #8cdc4299 | |
rgb(140, 220, 66, 80%) | #8cdc42CC | |
rgb(140, 220, 66, 100%) | #8cdc42FF |
Saturated and desaturated colors of #8cdc42
HSL Code | Preview |
---|---|
hsl(91, 10%, 56%) | |
hsl(91, 20%, 56%) | |
hsl(91, 40%, 56%) | |
hsl(91, 60%, 56%) | |
hsl(91, 80%, 56%) | |
hsl(91, 100%, 56%) |
#8cdc42 Color Usage In CSS
body { color: #8cdc42; } p { color: rgb(140, 220, 66); } header { border-bottom:1px solid #8cdc42; }