#1e4292 Color
Color Codes | |
---|---|
Hex Code | #1e4292 |
RGB Code | rgb(30, 66, 146) |
HSL Code | hsl(221, 66%, 35%) |
#1e4292 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(30, 66, 146); }
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(221, 66%, 35%); }
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 #1e4292
RGB Code | Hex Code | Preview |
---|---|---|
rgb(30, 66, 146, 10%) | #1e42921a | |
rgb(30, 66, 146, 20%) | #1e429233 | |
rgb(30, 66, 146, 40%) | #1e42924C | |
rgb(30, 66, 146, 60%) | #1e429299 | |
rgb(30, 66, 146, 80%) | #1e4292CC | |
rgb(30, 66, 146, 100%) | #1e4292FF |
Saturated and desaturated colors of #1e4292
HSL Code | Preview |
---|---|
hsl(221, 10%, 35%) | |
hsl(221, 20%, 35%) | |
hsl(221, 40%, 35%) | |
hsl(221, 60%, 35%) | |
hsl(221, 80%, 35%) | |
hsl(221, 100%, 35%) |
#1e4292 Color Usage In CSS
body { color: #1e4292; } p { color: rgb(30, 66, 146); } header { border-bottom:1px solid #1e4292; }