#cdc2d6 Color
Color Codes | |
---|---|
Hex Code | #cdc2d6 |
RGB Code | rgb(205, 194, 214) |
HSL Code | hsl(273, 20%, 80%) |
#cdc2d6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(205, 194, 214); }
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(273, 20%, 80%); }
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 #cdc2d6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(205, 194, 214, 10%) | #cdc2d61a | |
rgb(205, 194, 214, 20%) | #cdc2d633 | |
rgb(205, 194, 214, 40%) | #cdc2d64C | |
rgb(205, 194, 214, 60%) | #cdc2d699 | |
rgb(205, 194, 214, 80%) | #cdc2d6CC | |
rgb(205, 194, 214, 100%) | #cdc2d6FF |
Saturated and desaturated colors of #cdc2d6
HSL Code | Preview |
---|---|
hsl(273, 10%, 80%) | |
hsl(273, 20%, 80%) | |
hsl(273, 40%, 80%) | |
hsl(273, 60%, 80%) | |
hsl(273, 80%, 80%) | |
hsl(273, 100%, 80%) |
#cdc2d6 Color Usage In CSS
body { color: #cdc2d6; } p { color: rgb(205, 194, 214); } header { border-bottom:1px solid #cdc2d6; }