#d92cff Color
Color Codes | |
---|---|
Hex Code | #d92cff |
RGB Code | rgb(217, 44, 255) |
HSL Code | hsl(289, 100%, 59%) |
#d92cff Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(217, 44, 255); }
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(289, 100%, 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 #d92cff
RGB Code | Hex Code | Preview |
---|---|---|
rgb(217, 44, 255, 10%) | #d92cff1a | |
rgb(217, 44, 255, 20%) | #d92cff33 | |
rgb(217, 44, 255, 40%) | #d92cff4C | |
rgb(217, 44, 255, 60%) | #d92cff99 | |
rgb(217, 44, 255, 80%) | #d92cffCC | |
rgb(217, 44, 255, 100%) | #d92cffFF |
Saturated and desaturated colors of #d92cff
HSL Code | Preview |
---|---|
hsl(289, 10%, 59%) | |
hsl(289, 20%, 59%) | |
hsl(289, 40%, 59%) | |
hsl(289, 60%, 59%) | |
hsl(289, 80%, 59%) | |
hsl(289, 100%, 59%) |
#d92cff Color Usage In CSS
body { color: #d92cff; } p { color: rgb(217, 44, 255); } header { border-bottom:1px solid #d92cff; }