#01045d Color
Color Codes | |
---|---|
Hex Code | #01045d |
RGB Code | rgb(01, 04, 93) |
HSL Code | hsl(238, 98%, 18%) |
#01045d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(01, 04, 93); }
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, 98%, 18%); }
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 #01045d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(01, 04, 93, 10%) | #01045d1a | |
rgb(01, 04, 93, 20%) | #01045d33 | |
rgb(01, 04, 93, 40%) | #01045d4C | |
rgb(01, 04, 93, 60%) | #01045d99 | |
rgb(01, 04, 93, 80%) | #01045dCC | |
rgb(01, 04, 93, 100%) | #01045dFF |
Saturated and desaturated colors of #01045d
HSL Code | Preview |
---|---|
hsl(238, 10%, 18%) | |
hsl(238, 20%, 18%) | |
hsl(238, 40%, 18%) | |
hsl(238, 60%, 18%) | |
hsl(238, 80%, 18%) | |
hsl(238, 100%, 18%) |
#01045d Color Usage In CSS
body { color: #01045d; } p { color: rgb(01, 04, 93); } header { border-bottom:1px solid #01045d; }