#d0cceb Color
Color Codes | |
---|---|
Hex Code | #d0cceb |
RGB Code | rgb(208, 204, 235) |
HSL Code | hsl(248, 44%, 86%) |
#d0cceb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(208, 204, 235); }
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(248, 44%, 86%); }
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 #d0cceb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(208, 204, 235, 10%) | #d0cceb1a | |
rgb(208, 204, 235, 20%) | #d0cceb33 | |
rgb(208, 204, 235, 40%) | #d0cceb4C | |
rgb(208, 204, 235, 60%) | #d0cceb99 | |
rgb(208, 204, 235, 80%) | #d0ccebCC | |
rgb(208, 204, 235, 100%) | #d0ccebFF |
Saturated and desaturated colors of #d0cceb
HSL Code | Preview |
---|---|
hsl(248, 10%, 86%) | |
hsl(248, 20%, 86%) | |
hsl(248, 40%, 86%) | |
hsl(248, 60%, 86%) | |
hsl(248, 80%, 86%) | |
hsl(248, 100%, 86%) |
#d0cceb Color Usage In CSS
body { color: #d0cceb; } p { color: rgb(208, 204, 235); } header { border-bottom:1px solid #d0cceb; }