#3e2ccd Color
Color Codes | |
---|---|
Hex Code | #3e2ccd |
RGB Code | rgb(62, 44, 205) |
HSL Code | hsl(247, 65%, 49%) |
#3e2ccd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(62, 44, 205); }
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(247, 65%, 49%); }
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 #3e2ccd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(62, 44, 205, 10%) | #3e2ccd1a | |
rgb(62, 44, 205, 20%) | #3e2ccd33 | |
rgb(62, 44, 205, 40%) | #3e2ccd4C | |
rgb(62, 44, 205, 60%) | #3e2ccd99 | |
rgb(62, 44, 205, 80%) | #3e2ccdCC | |
rgb(62, 44, 205, 100%) | #3e2ccdFF |
Saturated and desaturated colors of #3e2ccd
HSL Code | Preview |
---|---|
hsl(247, 10%, 49%) | |
hsl(247, 20%, 49%) | |
hsl(247, 40%, 49%) | |
hsl(247, 60%, 49%) | |
hsl(247, 80%, 49%) | |
hsl(247, 100%, 49%) |
#3e2ccd Color Usage In CSS
body { color: #3e2ccd; } p { color: rgb(62, 44, 205); } header { border-bottom:1px solid #3e2ccd; }