#5205ad Color
Color Codes | |
---|---|
Hex Code | #5205ad |
RGB Code | rgb(82, 05, 173) |
HSL Code | hsl(268, 94%, 35%) |
#5205ad Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(82, 05, 173); }
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(268, 94%, 35%); }
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 #5205ad
RGB Code | Hex Code | Preview |
---|---|---|
rgb(82, 05, 173, 10%) | #5205ad1a | |
rgb(82, 05, 173, 20%) | #5205ad33 | |
rgb(82, 05, 173, 40%) | #5205ad4C | |
rgb(82, 05, 173, 60%) | #5205ad99 | |
rgb(82, 05, 173, 80%) | #5205adCC | |
rgb(82, 05, 173, 100%) | #5205adFF |
Saturated and desaturated colors of #5205ad
HSL Code | Preview |
---|---|
hsl(268, 10%, 35%) | |
hsl(268, 20%, 35%) | |
hsl(268, 40%, 35%) | |
hsl(268, 60%, 35%) | |
hsl(268, 80%, 35%) | |
hsl(268, 100%, 35%) |
#5205ad Color Usage In CSS
body { color: #5205ad; } p { color: rgb(82, 05, 173); } header { border-bottom:1px solid #5205ad; }