#d85ff9 Color
Color Codes | |
---|---|
Hex Code | #d85ff9 |
RGB Code | rgb(216, 95, 249) |
HSL Code | hsl(287, 93%, 67%) |
#d85ff9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 95, 249); }
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, 93%, 67%); }
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 #d85ff9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 95, 249, 10%) | #d85ff91a | |
rgb(216, 95, 249, 20%) | #d85ff933 | |
rgb(216, 95, 249, 40%) | #d85ff94C | |
rgb(216, 95, 249, 60%) | #d85ff999 | |
rgb(216, 95, 249, 80%) | #d85ff9CC | |
rgb(216, 95, 249, 100%) | #d85ff9FF |
Saturated and desaturated colors of #d85ff9
HSL Code | Preview |
---|---|
hsl(287, 10%, 67%) | |
hsl(287, 20%, 67%) | |
hsl(287, 40%, 67%) | |
hsl(287, 60%, 67%) | |
hsl(287, 80%, 67%) | |
hsl(287, 100%, 67%) |
#d85ff9 Color Usage In CSS
body { color: #d85ff9; } p { color: rgb(216, 95, 249); } header { border-bottom:1px solid #d85ff9; }