#d2f099 Color
Color Codes | |
---|---|
Hex Code | #d2f099 |
RGB Code | rgb(210, 240, 153) |
HSL Code | hsl(81, 74%, 77%) |
#d2f099 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(210, 240, 153); }
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(81, 74%, 77%); }
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 #d2f099
RGB Code | Hex Code | Preview |
---|---|---|
rgb(210, 240, 153, 10%) | #d2f0991a | |
rgb(210, 240, 153, 20%) | #d2f09933 | |
rgb(210, 240, 153, 40%) | #d2f0994C | |
rgb(210, 240, 153, 60%) | #d2f09999 | |
rgb(210, 240, 153, 80%) | #d2f099CC | |
rgb(210, 240, 153, 100%) | #d2f099FF |
Saturated and desaturated colors of #d2f099
HSL Code | Preview |
---|---|
hsl(81, 10%, 77%) | |
hsl(81, 20%, 77%) | |
hsl(81, 40%, 77%) | |
hsl(81, 60%, 77%) | |
hsl(81, 80%, 77%) | |
hsl(81, 100%, 77%) |
#d2f099 Color Usage In CSS
body { color: #d2f099; } p { color: rgb(210, 240, 153); } header { border-bottom:1px solid #d2f099; }