#3e12bc Color
Color Codes | |
---|---|
Hex Code | #3e12bc |
RGB Code | rgb(62, 18, 188) |
HSL Code | hsl(256, 83%, 40%) |
#3e12bc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(62, 18, 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(256, 83%, 40%); }
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 #3e12bc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(62, 18, 188, 10%) | #3e12bc1a | |
rgb(62, 18, 188, 20%) | #3e12bc33 | |
rgb(62, 18, 188, 40%) | #3e12bc4C | |
rgb(62, 18, 188, 60%) | #3e12bc99 | |
rgb(62, 18, 188, 80%) | #3e12bcCC | |
rgb(62, 18, 188, 100%) | #3e12bcFF |
Saturated and desaturated colors of #3e12bc
HSL Code | Preview |
---|---|
hsl(256, 10%, 40%) | |
hsl(256, 20%, 40%) | |
hsl(256, 40%, 40%) | |
hsl(256, 60%, 40%) | |
hsl(256, 80%, 40%) | |
hsl(256, 100%, 40%) |
#3e12bc Color Usage In CSS
body { color: #3e12bc; } p { color: rgb(62, 18, 188); } header { border-bottom:1px solid #3e12bc; }