#3e37cd Color
Color Codes | |
---|---|
Hex Code | #3e37cd |
RGB Code | rgb(62, 55, 205) |
HSL Code | hsl(243, 60%, 51%) |
#3e37cd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(62, 55, 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(243, 60%, 51%); }
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 #3e37cd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(62, 55, 205, 10%) | #3e37cd1a | |
rgb(62, 55, 205, 20%) | #3e37cd33 | |
rgb(62, 55, 205, 40%) | #3e37cd4C | |
rgb(62, 55, 205, 60%) | #3e37cd99 | |
rgb(62, 55, 205, 80%) | #3e37cdCC | |
rgb(62, 55, 205, 100%) | #3e37cdFF |
Saturated and desaturated colors of #3e37cd
HSL Code | Preview |
---|---|
hsl(243, 10%, 51%) | |
hsl(243, 20%, 51%) | |
hsl(243, 40%, 51%) | |
hsl(243, 60%, 51%) | |
hsl(243, 80%, 51%) | |
hsl(243, 100%, 51%) |
#3e37cd Color Usage In CSS
body { color: #3e37cd; } p { color: rgb(62, 55, 205); } header { border-bottom:1px solid #3e37cd; }