#1e5fbf Color
Color Codes | |
---|---|
Hex Code | #1e5fbf |
RGB Code | rgb(30, 95, 191) |
HSL Code | hsl(216, 73%, 43%) |
#1e5fbf Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(30, 95, 191); }
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(216, 73%, 43%); }
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 #1e5fbf
RGB Code | Hex Code | Preview |
---|---|---|
rgb(30, 95, 191, 10%) | #1e5fbf1a | |
rgb(30, 95, 191, 20%) | #1e5fbf33 | |
rgb(30, 95, 191, 40%) | #1e5fbf4C | |
rgb(30, 95, 191, 60%) | #1e5fbf99 | |
rgb(30, 95, 191, 80%) | #1e5fbfCC | |
rgb(30, 95, 191, 100%) | #1e5fbfFF |
Saturated and desaturated colors of #1e5fbf
HSL Code | Preview |
---|---|
hsl(216, 10%, 43%) | |
hsl(216, 20%, 43%) | |
hsl(216, 40%, 43%) | |
hsl(216, 60%, 43%) | |
hsl(216, 80%, 43%) | |
hsl(216, 100%, 43%) |
#1e5fbf Color Usage In CSS
body { color: #1e5fbf; } p { color: rgb(30, 95, 191); } header { border-bottom:1px solid #1e5fbf; }