#562dff Color
Color Codes | |
---|---|
Hex Code | #562dff |
RGB Code | rgb(86, 45, 255) |
HSL Code | hsl(252, 100%, 59%) |
#562dff Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(86, 45, 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(252, 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 #562dff
RGB Code | Hex Code | Preview |
---|---|---|
rgb(86, 45, 255, 10%) | #562dff1a | |
rgb(86, 45, 255, 20%) | #562dff33 | |
rgb(86, 45, 255, 40%) | #562dff4C | |
rgb(86, 45, 255, 60%) | #562dff99 | |
rgb(86, 45, 255, 80%) | #562dffCC | |
rgb(86, 45, 255, 100%) | #562dffFF |
Saturated and desaturated colors of #562dff
HSL Code | Preview |
---|---|
hsl(252, 10%, 59%) | |
hsl(252, 20%, 59%) | |
hsl(252, 40%, 59%) | |
hsl(252, 60%, 59%) | |
hsl(252, 80%, 59%) | |
hsl(252, 100%, 59%) |
#562dff Color Usage In CSS
body { color: #562dff; } p { color: rgb(86, 45, 255); } header { border-bottom:1px solid #562dff; }