#1e4e5a Color
Color Codes | |
---|---|
Hex Code | #1e4e5a |
RGB Code | rgb(30, 78, 90) |
HSL Code | hsl(192, 50%, 24%) |
#1e4e5a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(30, 78, 90); }
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(192, 50%, 24%); }
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 #1e4e5a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(30, 78, 90, 10%) | #1e4e5a1a | |
rgb(30, 78, 90, 20%) | #1e4e5a33 | |
rgb(30, 78, 90, 40%) | #1e4e5a4C | |
rgb(30, 78, 90, 60%) | #1e4e5a99 | |
rgb(30, 78, 90, 80%) | #1e4e5aCC | |
rgb(30, 78, 90, 100%) | #1e4e5aFF |
Saturated and desaturated colors of #1e4e5a
HSL Code | Preview |
---|---|
hsl(192, 10%, 24%) | |
hsl(192, 20%, 24%) | |
hsl(192, 40%, 24%) | |
hsl(192, 60%, 24%) | |
hsl(192, 80%, 24%) | |
hsl(192, 100%, 24%) |
#1e4e5a Color Usage In CSS
body { color: #1e4e5a; } p { color: rgb(30, 78, 90); } header { border-bottom:1px solid #1e4e5a; }