#181b89 Color
Color Codes | |
---|---|
Hex Code | #181b89 |
RGB Code | rgb(24, 27, 137) |
HSL Code | hsl(238, 70%, 32%) |
#181b89 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(24, 27, 137); }
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(238, 70%, 32%); }
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 #181b89
RGB Code | Hex Code | Preview |
---|---|---|
rgb(24, 27, 137, 10%) | #181b891a | |
rgb(24, 27, 137, 20%) | #181b8933 | |
rgb(24, 27, 137, 40%) | #181b894C | |
rgb(24, 27, 137, 60%) | #181b8999 | |
rgb(24, 27, 137, 80%) | #181b89CC | |
rgb(24, 27, 137, 100%) | #181b89FF |
Saturated and desaturated colors of #181b89
HSL Code | Preview |
---|---|
hsl(238, 10%, 32%) | |
hsl(238, 20%, 32%) | |
hsl(238, 40%, 32%) | |
hsl(238, 60%, 32%) | |
hsl(238, 80%, 32%) | |
hsl(238, 100%, 32%) |
#181b89 Color Usage In CSS
body { color: #181b89; } p { color: rgb(24, 27, 137); } header { border-bottom:1px solid #181b89; }