#dcc0e4 Color
Color Codes | |
---|---|
Hex Code | #dcc0e4 |
RGB Code | rgb(220, 192, 228) |
HSL Code | hsl(287, 40%, 82%) |
#dcc0e4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 192, 228); }
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(287, 40%, 82%); }
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 #dcc0e4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 192, 228, 10%) | #dcc0e41a | |
rgb(220, 192, 228, 20%) | #dcc0e433 | |
rgb(220, 192, 228, 40%) | #dcc0e44C | |
rgb(220, 192, 228, 60%) | #dcc0e499 | |
rgb(220, 192, 228, 80%) | #dcc0e4CC | |
rgb(220, 192, 228, 100%) | #dcc0e4FF |
Saturated and desaturated colors of #dcc0e4
HSL Code | Preview |
---|---|
hsl(287, 10%, 82%) | |
hsl(287, 20%, 82%) | |
hsl(287, 40%, 82%) | |
hsl(287, 60%, 82%) | |
hsl(287, 80%, 82%) | |
hsl(287, 100%, 82%) |
#dcc0e4 Color Usage In CSS
body { color: #dcc0e4; } p { color: rgb(220, 192, 228); } header { border-bottom:1px solid #dcc0e4; }