#052c77 Color
Color Codes | |
---|---|
Hex Code | #052c77 |
RGB Code | rgb(05, 44, 119) |
HSL Code | hsl(219, 92%, 24%) |
#052c77 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(05, 44, 119); }
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(219, 92%, 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 #052c77
RGB Code | Hex Code | Preview |
---|---|---|
rgb(05, 44, 119, 10%) | #052c771a | |
rgb(05, 44, 119, 20%) | #052c7733 | |
rgb(05, 44, 119, 40%) | #052c774C | |
rgb(05, 44, 119, 60%) | #052c7799 | |
rgb(05, 44, 119, 80%) | #052c77CC | |
rgb(05, 44, 119, 100%) | #052c77FF |
Saturated and desaturated colors of #052c77
HSL Code | Preview |
---|---|
hsl(219, 10%, 24%) | |
hsl(219, 20%, 24%) | |
hsl(219, 40%, 24%) | |
hsl(219, 60%, 24%) | |
hsl(219, 80%, 24%) | |
hsl(219, 100%, 24%) |
#052c77 Color Usage In CSS
body { color: #052c77; } p { color: rgb(05, 44, 119); } header { border-bottom:1px solid #052c77; }