#5225dc Color
Color Codes | |
---|---|
Hex Code | #5225dc |
RGB Code | rgb(82, 37, 220) |
HSL Code | hsl(255, 72%, 50%) |
#5225dc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(82, 37, 220); }
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(255, 72%, 50%); }
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 #5225dc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(82, 37, 220, 10%) | #5225dc1a | |
rgb(82, 37, 220, 20%) | #5225dc33 | |
rgb(82, 37, 220, 40%) | #5225dc4C | |
rgb(82, 37, 220, 60%) | #5225dc99 | |
rgb(82, 37, 220, 80%) | #5225dcCC | |
rgb(82, 37, 220, 100%) | #5225dcFF |
Saturated and desaturated colors of #5225dc
HSL Code | Preview |
---|---|
hsl(255, 10%, 50%) | |
hsl(255, 20%, 50%) | |
hsl(255, 40%, 50%) | |
hsl(255, 60%, 50%) | |
hsl(255, 80%, 50%) | |
hsl(255, 100%, 50%) |
#5225dc Color Usage In CSS
body { color: #5225dc; } p { color: rgb(82, 37, 220); } header { border-bottom:1px solid #5225dc; }