#ad5dce Color
Color Codes | |
---|---|
Hex Code | #ad5dce |
RGB Code | rgb(173, 93, 206) |
HSL Code | hsl(282, 54%, 59%) |
#ad5dce Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(173, 93, 206); }
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(282, 54%, 59%); }
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 #ad5dce
RGB Code | Hex Code | Preview |
---|---|---|
rgb(173, 93, 206, 10%) | #ad5dce1a | |
rgb(173, 93, 206, 20%) | #ad5dce33 | |
rgb(173, 93, 206, 40%) | #ad5dce4C | |
rgb(173, 93, 206, 60%) | #ad5dce99 | |
rgb(173, 93, 206, 80%) | #ad5dceCC | |
rgb(173, 93, 206, 100%) | #ad5dceFF |
Saturated and desaturated colors of #ad5dce
HSL Code | Preview |
---|---|
hsl(282, 10%, 59%) | |
hsl(282, 20%, 59%) | |
hsl(282, 40%, 59%) | |
hsl(282, 60%, 59%) | |
hsl(282, 80%, 59%) | |
hsl(282, 100%, 59%) |
#ad5dce Color Usage In CSS
body { color: #ad5dce; } p { color: rgb(173, 93, 206); } header { border-bottom:1px solid #ad5dce; }