#d2f0a2 Color
Color Codes | |
---|---|
Hex Code | #d2f0a2 |
RGB Code | rgb(210, 240, 162) |
HSL Code | hsl(83, 72%, 79%) |
#d2f0a2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(210, 240, 162); }
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(83, 72%, 79%); }
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 #d2f0a2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(210, 240, 162, 10%) | #d2f0a21a | |
rgb(210, 240, 162, 20%) | #d2f0a233 | |
rgb(210, 240, 162, 40%) | #d2f0a24C | |
rgb(210, 240, 162, 60%) | #d2f0a299 | |
rgb(210, 240, 162, 80%) | #d2f0a2CC | |
rgb(210, 240, 162, 100%) | #d2f0a2FF |
Saturated and desaturated colors of #d2f0a2
HSL Code | Preview |
---|---|
hsl(83, 10%, 79%) | |
hsl(83, 20%, 79%) | |
hsl(83, 40%, 79%) | |
hsl(83, 60%, 79%) | |
hsl(83, 80%, 79%) | |
hsl(83, 100%, 79%) |
#d2f0a2 Color Usage In CSS
body { color: #d2f0a2; } p { color: rgb(210, 240, 162); } header { border-bottom:1px solid #d2f0a2; }