#045988 Color
Color Codes | |
---|---|
Hex Code | #045988 |
RGB Code | rgb(04, 89, 136) |
HSL Code | hsl(201, 94%, 27%) |
#045988 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(04, 89, 136); }
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(201, 94%, 27%); }
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 #045988
RGB Code | Hex Code | Preview |
---|---|---|
rgb(04, 89, 136, 10%) | #0459881a | |
rgb(04, 89, 136, 20%) | #04598833 | |
rgb(04, 89, 136, 40%) | #0459884C | |
rgb(04, 89, 136, 60%) | #04598899 | |
rgb(04, 89, 136, 80%) | #045988CC | |
rgb(04, 89, 136, 100%) | #045988FF |
Saturated and desaturated colors of #045988
HSL Code | Preview |
---|---|
hsl(201, 10%, 27%) | |
hsl(201, 20%, 27%) | |
hsl(201, 40%, 27%) | |
hsl(201, 60%, 27%) | |
hsl(201, 80%, 27%) | |
hsl(201, 100%, 27%) |
#045988 Color Usage In CSS
body { color: #045988; } p { color: rgb(04, 89, 136); } header { border-bottom:1px solid #045988; }