#dc9ae9 Color
Color Codes | |
---|---|
Hex Code | #dc9ae9 |
RGB Code | rgb(220, 154, 233) |
HSL Code | hsl(290, 64%, 76%) |
#dc9ae9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 154, 233); }
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(290, 64%, 76%); }
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 #dc9ae9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 154, 233, 10%) | #dc9ae91a | |
rgb(220, 154, 233, 20%) | #dc9ae933 | |
rgb(220, 154, 233, 40%) | #dc9ae94C | |
rgb(220, 154, 233, 60%) | #dc9ae999 | |
rgb(220, 154, 233, 80%) | #dc9ae9CC | |
rgb(220, 154, 233, 100%) | #dc9ae9FF |
Saturated and desaturated colors of #dc9ae9
HSL Code | Preview |
---|---|
hsl(290, 10%, 76%) | |
hsl(290, 20%, 76%) | |
hsl(290, 40%, 76%) | |
hsl(290, 60%, 76%) | |
hsl(290, 80%, 76%) | |
hsl(290, 100%, 76%) |
#dc9ae9 Color Usage In CSS
body { color: #dc9ae9; } p { color: rgb(220, 154, 233); } header { border-bottom:1px solid #dc9ae9; }