#d2e13c Color
Color Codes | |
---|---|
Hex Code | #d2e13c |
RGB Code | rgb(210, 225, 60) |
HSL Code | hsl(65, 73%, 56%) |
#d2e13c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(210, 225, 60); }
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(65, 73%, 56%); }
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 #d2e13c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(210, 225, 60, 10%) | #d2e13c1a | |
rgb(210, 225, 60, 20%) | #d2e13c33 | |
rgb(210, 225, 60, 40%) | #d2e13c4C | |
rgb(210, 225, 60, 60%) | #d2e13c99 | |
rgb(210, 225, 60, 80%) | #d2e13cCC | |
rgb(210, 225, 60, 100%) | #d2e13cFF |
Saturated and desaturated colors of #d2e13c
HSL Code | Preview |
---|---|
hsl(65, 10%, 56%) | |
hsl(65, 20%, 56%) | |
hsl(65, 40%, 56%) | |
hsl(65, 60%, 56%) | |
hsl(65, 80%, 56%) | |
hsl(65, 100%, 56%) |
#d2e13c Color Usage In CSS
body { color: #d2e13c; } p { color: rgb(210, 225, 60); } header { border-bottom:1px solid #d2e13c; }