#d4abe2 Color
Color Codes | |
---|---|
Hex Code | #d4abe2 |
RGB Code | rgb(212, 171, 226) |
HSL Code | hsl(285, 49%, 78%) |
#d4abe2 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(212, 171, 226); }
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(285, 49%, 78%); }
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 #d4abe2
RGB Code | Hex Code | Preview |
---|---|---|
rgb(212, 171, 226, 10%) | #d4abe21a | |
rgb(212, 171, 226, 20%) | #d4abe233 | |
rgb(212, 171, 226, 40%) | #d4abe24C | |
rgb(212, 171, 226, 60%) | #d4abe299 | |
rgb(212, 171, 226, 80%) | #d4abe2CC | |
rgb(212, 171, 226, 100%) | #d4abe2FF |
Saturated and desaturated colors of #d4abe2
HSL Code | Preview |
---|---|
hsl(285, 10%, 78%) | |
hsl(285, 20%, 78%) | |
hsl(285, 40%, 78%) | |
hsl(285, 60%, 78%) | |
hsl(285, 80%, 78%) | |
hsl(285, 100%, 78%) |
#d4abe2 Color Usage In CSS
body { color: #d4abe2; } p { color: rgb(212, 171, 226); } header { border-bottom:1px solid #d4abe2; }