#d8f062 Color
Color Codes | |
---|---|
Hex Code | #d8f062 |
RGB Code | rgb(216, 240, 98) |
HSL Code | hsl(70, 83%, 66%) |
#d8f062 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 240, 98); }
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(70, 83%, 66%); }
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 #d8f062
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 240, 98, 10%) | #d8f0621a | |
rgb(216, 240, 98, 20%) | #d8f06233 | |
rgb(216, 240, 98, 40%) | #d8f0624C | |
rgb(216, 240, 98, 60%) | #d8f06299 | |
rgb(216, 240, 98, 80%) | #d8f062CC | |
rgb(216, 240, 98, 100%) | #d8f062FF |
Saturated and desaturated colors of #d8f062
HSL Code | Preview |
---|---|
hsl(70, 10%, 66%) | |
hsl(70, 20%, 66%) | |
hsl(70, 40%, 66%) | |
hsl(70, 60%, 66%) | |
hsl(70, 80%, 66%) | |
hsl(70, 100%, 66%) |
#d8f062 Color Usage In CSS
body { color: #d8f062; } p { color: rgb(216, 240, 98); } header { border-bottom:1px solid #d8f062; }