#d2dd70 Color
Color Codes | |
---|---|
Hex Code | #d2dd70 |
RGB Code | rgb(210, 221, 112) |
HSL Code | hsl(66, 62%, 65%) |
#d2dd70 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(210, 221, 112); }
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(66, 62%, 65%); }
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 #d2dd70
RGB Code | Hex Code | Preview |
---|---|---|
rgb(210, 221, 112, 10%) | #d2dd701a | |
rgb(210, 221, 112, 20%) | #d2dd7033 | |
rgb(210, 221, 112, 40%) | #d2dd704C | |
rgb(210, 221, 112, 60%) | #d2dd7099 | |
rgb(210, 221, 112, 80%) | #d2dd70CC | |
rgb(210, 221, 112, 100%) | #d2dd70FF |
Saturated and desaturated colors of #d2dd70
HSL Code | Preview |
---|---|
hsl(66, 10%, 65%) | |
hsl(66, 20%, 65%) | |
hsl(66, 40%, 65%) | |
hsl(66, 60%, 65%) | |
hsl(66, 80%, 65%) | |
hsl(66, 100%, 65%) |
#d2dd70 Color Usage In CSS
body { color: #d2dd70; } p { color: rgb(210, 221, 112); } header { border-bottom:1px solid #d2dd70; }