#dddcfd Color
Color Codes | |
---|---|
Hex Code | #dddcfd |
RGB Code | rgb(221, 220, 253) |
HSL Code | hsl(242, 89%, 93%) |
#dddcfd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(221, 220, 253); }
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(242, 89%, 93%); }
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 #dddcfd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(221, 220, 253, 10%) | #dddcfd1a | |
rgb(221, 220, 253, 20%) | #dddcfd33 | |
rgb(221, 220, 253, 40%) | #dddcfd4C | |
rgb(221, 220, 253, 60%) | #dddcfd99 | |
rgb(221, 220, 253, 80%) | #dddcfdCC | |
rgb(221, 220, 253, 100%) | #dddcfdFF |
Saturated and desaturated colors of #dddcfd
HSL Code | Preview |
---|---|
hsl(242, 10%, 93%) | |
hsl(242, 20%, 93%) | |
hsl(242, 40%, 93%) | |
hsl(242, 60%, 93%) | |
hsl(242, 80%, 93%) | |
hsl(242, 100%, 93%) |
#dddcfd Color Usage In CSS
body { color: #dddcfd; } p { color: rgb(221, 220, 253); } header { border-bottom:1px solid #dddcfd; }