#3e34aa Color
Color Codes | |
---|---|
Hex Code | #3e34aa |
RGB Code | rgb(62, 52, 170) |
HSL Code | hsl(245, 53%, 44%) |
#3e34aa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(62, 52, 170); }
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(245, 53%, 44%); }
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 #3e34aa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(62, 52, 170, 10%) | #3e34aa1a | |
rgb(62, 52, 170, 20%) | #3e34aa33 | |
rgb(62, 52, 170, 40%) | #3e34aa4C | |
rgb(62, 52, 170, 60%) | #3e34aa99 | |
rgb(62, 52, 170, 80%) | #3e34aaCC | |
rgb(62, 52, 170, 100%) | #3e34aaFF |
Saturated and desaturated colors of #3e34aa
HSL Code | Preview |
---|---|
hsl(245, 10%, 44%) | |
hsl(245, 20%, 44%) | |
hsl(245, 40%, 44%) | |
hsl(245, 60%, 44%) | |
hsl(245, 80%, 44%) | |
hsl(245, 100%, 44%) |
#3e34aa Color Usage In CSS
body { color: #3e34aa; } p { color: rgb(62, 52, 170); } header { border-bottom:1px solid #3e34aa; }