#d0e26c Color
Color Codes | |
---|---|
Hex Code | #d0e26c |
RGB Code | rgb(208, 226, 108) |
HSL Code | hsl(69, 67%, 65%) |
#d0e26c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(208, 226, 108); }
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(69, 67%, 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 #d0e26c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(208, 226, 108, 10%) | #d0e26c1a | |
rgb(208, 226, 108, 20%) | #d0e26c33 | |
rgb(208, 226, 108, 40%) | #d0e26c4C | |
rgb(208, 226, 108, 60%) | #d0e26c99 | |
rgb(208, 226, 108, 80%) | #d0e26cCC | |
rgb(208, 226, 108, 100%) | #d0e26cFF |
Saturated and desaturated colors of #d0e26c
HSL Code | Preview |
---|---|
hsl(69, 10%, 65%) | |
hsl(69, 20%, 65%) | |
hsl(69, 40%, 65%) | |
hsl(69, 60%, 65%) | |
hsl(69, 80%, 65%) | |
hsl(69, 100%, 65%) |
#d0e26c Color Usage In CSS
body { color: #d0e26c; } p { color: rgb(208, 226, 108); } header { border-bottom:1px solid #d0e26c; }