#3712b7 Color
Color Codes | |
---|---|
Hex Code | #3712b7 |
RGB Code | rgb(55, 18, 183) |
HSL Code | hsl(253, 82%, 39%) |
#3712b7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(55, 18, 183); }
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(253, 82%, 39%); }
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 #3712b7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(55, 18, 183, 10%) | #3712b71a | |
rgb(55, 18, 183, 20%) | #3712b733 | |
rgb(55, 18, 183, 40%) | #3712b74C | |
rgb(55, 18, 183, 60%) | #3712b799 | |
rgb(55, 18, 183, 80%) | #3712b7CC | |
rgb(55, 18, 183, 100%) | #3712b7FF |
Saturated and desaturated colors of #3712b7
HSL Code | Preview |
---|---|
hsl(253, 10%, 39%) | |
hsl(253, 20%, 39%) | |
hsl(253, 40%, 39%) | |
hsl(253, 60%, 39%) | |
hsl(253, 80%, 39%) | |
hsl(253, 100%, 39%) |
#3712b7 Color Usage In CSS
body { color: #3712b7; } p { color: rgb(55, 18, 183); } header { border-bottom:1px solid #3712b7; }