#d4e98c Color
Color Codes | |
---|---|
Hex Code | #d4e98c |
RGB Code | rgb(212, 233, 140) |
HSL Code | hsl(74, 68%, 73%) |
#d4e98c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 233, 140); }
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(74, 68%, 73%); }
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 #d4e98c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 233, 140, 10%) | #d4e98c1a | |
rgb(212, 233, 140, 20%) | #d4e98c33 | |
rgb(212, 233, 140, 40%) | #d4e98c4C | |
rgb(212, 233, 140, 60%) | #d4e98c99 | |
rgb(212, 233, 140, 80%) | #d4e98cCC | |
rgb(212, 233, 140, 100%) | #d4e98cFF |
Saturated and desaturated colors of #d4e98c
HSL Code | Preview |
---|---|
hsl(74, 10%, 73%) | |
hsl(74, 20%, 73%) | |
hsl(74, 40%, 73%) | |
hsl(74, 60%, 73%) | |
hsl(74, 80%, 73%) | |
hsl(74, 100%, 73%) |
#d4e98c Color Usage In CSS
body { color: #d4e98c; } p { color: rgb(212, 233, 140); } header { border-bottom:1px solid #d4e98c; }