#d3cafc Color
Color Codes | |
---|---|
Hex Code | #d3cafc |
RGB Code | rgb(211, 202, 252) |
HSL Code | hsl(251, 89%, 89%) |
#d3cafc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(211, 202, 252); }
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(251, 89%, 89%); }
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 #d3cafc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(211, 202, 252, 10%) | #d3cafc1a | |
rgb(211, 202, 252, 20%) | #d3cafc33 | |
rgb(211, 202, 252, 40%) | #d3cafc4C | |
rgb(211, 202, 252, 60%) | #d3cafc99 | |
rgb(211, 202, 252, 80%) | #d3cafcCC | |
rgb(211, 202, 252, 100%) | #d3cafcFF |
Saturated and desaturated colors of #d3cafc
HSL Code | Preview |
---|---|
hsl(251, 10%, 89%) | |
hsl(251, 20%, 89%) | |
hsl(251, 40%, 89%) | |
hsl(251, 60%, 89%) | |
hsl(251, 80%, 89%) | |
hsl(251, 100%, 89%) |
#d3cafc Color Usage In CSS
body { color: #d3cafc; } p { color: rgb(211, 202, 252); } header { border-bottom:1px solid #d3cafc; }