#5452ee Color
Color Codes | |
---|---|
Hex Code | #5452ee |
RGB Code | rgb(84, 82, 238) |
HSL Code | hsl(241, 82%, 63%) |
#5452ee Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(84, 82, 238); }
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(241, 82%, 63%); }
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 #5452ee
RGB Code | Hex Code | Preview |
---|---|---|
rgb(84, 82, 238, 10%) | #5452ee1a | |
rgb(84, 82, 238, 20%) | #5452ee33 | |
rgb(84, 82, 238, 40%) | #5452ee4C | |
rgb(84, 82, 238, 60%) | #5452ee99 | |
rgb(84, 82, 238, 80%) | #5452eeCC | |
rgb(84, 82, 238, 100%) | #5452eeFF |
Saturated and desaturated colors of #5452ee
HSL Code | Preview |
---|---|
hsl(241, 10%, 63%) | |
hsl(241, 20%, 63%) | |
hsl(241, 40%, 63%) | |
hsl(241, 60%, 63%) | |
hsl(241, 80%, 63%) | |
hsl(241, 100%, 63%) |
#5452ee Color Usage In CSS
body { color: #5452ee; } p { color: rgb(84, 82, 238); } header { border-bottom:1px solid #5452ee; }