#3e2ebc Color
Color Codes | |
---|---|
Hex Code | #3e2ebc |
RGB Code | rgb(62, 46, 188) |
HSL Code | hsl(247, 61%, 46%) |
#3e2ebc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(62, 46, 188); }
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, 61%, 46%); }
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 #3e2ebc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(62, 46, 188, 10%) | #3e2ebc1a | |
rgb(62, 46, 188, 20%) | #3e2ebc33 | |
rgb(62, 46, 188, 40%) | #3e2ebc4C | |
rgb(62, 46, 188, 60%) | #3e2ebc99 | |
rgb(62, 46, 188, 80%) | #3e2ebcCC | |
rgb(62, 46, 188, 100%) | #3e2ebcFF |
Saturated and desaturated colors of #3e2ebc
HSL Code | Preview |
---|---|
hsl(247, 10%, 46%) | |
hsl(247, 20%, 46%) | |
hsl(247, 40%, 46%) | |
hsl(247, 60%, 46%) | |
hsl(247, 80%, 46%) | |
hsl(247, 100%, 46%) |
#3e2ebc Color Usage In CSS
body { color: #3e2ebc; } p { color: rgb(62, 46, 188); } header { border-bottom:1px solid #3e2ebc; }