#072d71 Color
Color Codes | |
---|---|
Hex Code | #072d71 |
RGB Code | rgb(07, 45, 113) |
HSL Code | hsl(218, 88%, 24%) |
#072d71 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(07, 45, 113); }
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(218, 88%, 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 #072d71
RGB Code | Hex Code | Preview |
---|---|---|
rgb(07, 45, 113, 10%) | #072d711a | |
rgb(07, 45, 113, 20%) | #072d7133 | |
rgb(07, 45, 113, 40%) | #072d714C | |
rgb(07, 45, 113, 60%) | #072d7199 | |
rgb(07, 45, 113, 80%) | #072d71CC | |
rgb(07, 45, 113, 100%) | #072d71FF |
Saturated and desaturated colors of #072d71
HSL Code | Preview |
---|---|
hsl(218, 10%, 24%) | |
hsl(218, 20%, 24%) | |
hsl(218, 40%, 24%) | |
hsl(218, 60%, 24%) | |
hsl(218, 80%, 24%) | |
hsl(218, 100%, 24%) |
#072d71 Color Usage In CSS
body { color: #072d71; } p { color: rgb(07, 45, 113); } header { border-bottom:1px solid #072d71; }