#d8dbfb Color
Color Codes | |
---|---|
Hex Code | #d8dbfb |
RGB Code | rgb(216, 219, 251) |
HSL Code | hsl(235, 81%, 92%) |
#d8dbfb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 219, 251); }
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(235, 81%, 92%); }
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 #d8dbfb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 219, 251, 10%) | #d8dbfb1a | |
rgb(216, 219, 251, 20%) | #d8dbfb33 | |
rgb(216, 219, 251, 40%) | #d8dbfb4C | |
rgb(216, 219, 251, 60%) | #d8dbfb99 | |
rgb(216, 219, 251, 80%) | #d8dbfbCC | |
rgb(216, 219, 251, 100%) | #d8dbfbFF |
Saturated and desaturated colors of #d8dbfb
HSL Code | Preview |
---|---|
hsl(235, 10%, 92%) | |
hsl(235, 20%, 92%) | |
hsl(235, 40%, 92%) | |
hsl(235, 60%, 92%) | |
hsl(235, 80%, 92%) | |
hsl(235, 100%, 92%) |
#d8dbfb Color Usage In CSS
body { color: #d8dbfb; } p { color: rgb(216, 219, 251); } header { border-bottom:1px solid #d8dbfb; }