#1e37b3 Color
Color Codes | |
---|---|
Hex Code | #1e37b3 |
RGB Code | rgb(30, 55, 179) |
HSL Code | hsl(230, 71%, 41%) |
#1e37b3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(30, 55, 179); }
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(230, 71%, 41%); }
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 #1e37b3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(30, 55, 179, 10%) | #1e37b31a | |
rgb(30, 55, 179, 20%) | #1e37b333 | |
rgb(30, 55, 179, 40%) | #1e37b34C | |
rgb(30, 55, 179, 60%) | #1e37b399 | |
rgb(30, 55, 179, 80%) | #1e37b3CC | |
rgb(30, 55, 179, 100%) | #1e37b3FF |
Saturated and desaturated colors of #1e37b3
HSL Code | Preview |
---|---|
hsl(230, 10%, 41%) | |
hsl(230, 20%, 41%) | |
hsl(230, 40%, 41%) | |
hsl(230, 60%, 41%) | |
hsl(230, 80%, 41%) | |
hsl(230, 100%, 41%) |
#1e37b3 Color Usage In CSS
body { color: #1e37b3; } p { color: rgb(30, 55, 179); } header { border-bottom:1px solid #1e37b3; }