#8fef6c Color
Color Codes | |
---|---|
Hex Code | #8fef6c |
RGB Code | rgb(143, 239, 108) |
HSL Code | hsl(104, 80%, 68%) |
#8fef6c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(143, 239, 108); }
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(104, 80%, 68%); }
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 #8fef6c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(143, 239, 108, 10%) | #8fef6c1a | |
rgb(143, 239, 108, 20%) | #8fef6c33 | |
rgb(143, 239, 108, 40%) | #8fef6c4C | |
rgb(143, 239, 108, 60%) | #8fef6c99 | |
rgb(143, 239, 108, 80%) | #8fef6cCC | |
rgb(143, 239, 108, 100%) | #8fef6cFF |
Saturated and desaturated colors of #8fef6c
HSL Code | Preview |
---|---|
hsl(104, 10%, 68%) | |
hsl(104, 20%, 68%) | |
hsl(104, 40%, 68%) | |
hsl(104, 60%, 68%) | |
hsl(104, 80%, 68%) | |
hsl(104, 100%, 68%) |
#8fef6c Color Usage In CSS
body { color: #8fef6c; } p { color: rgb(143, 239, 108); } header { border-bottom:1px solid #8fef6c; }