#d93af0 Color
Color Codes | |
---|---|
Hex Code | #d93af0 |
RGB Code | rgb(217, 58, 240) |
HSL Code | hsl(292, 86%, 58%) |
#d93af0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(217, 58, 240); }
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(292, 86%, 58%); }
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 #d93af0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(217, 58, 240, 10%) | #d93af01a | |
rgb(217, 58, 240, 20%) | #d93af033 | |
rgb(217, 58, 240, 40%) | #d93af04C | |
rgb(217, 58, 240, 60%) | #d93af099 | |
rgb(217, 58, 240, 80%) | #d93af0CC | |
rgb(217, 58, 240, 100%) | #d93af0FF |
Saturated and desaturated colors of #d93af0
HSL Code | Preview |
---|---|
hsl(292, 10%, 58%) | |
hsl(292, 20%, 58%) | |
hsl(292, 40%, 58%) | |
hsl(292, 60%, 58%) | |
hsl(292, 80%, 58%) | |
hsl(292, 100%, 58%) |
#d93af0 Color Usage In CSS
body { color: #d93af0; } p { color: rgb(217, 58, 240); } header { border-bottom:1px solid #d93af0; }