#012348 Color
Color Codes | |
---|---|
Hex Code | #012348 |
RGB Code | rgb(01, 35, 72) |
HSL Code | hsl(211, 97%, 14%) |
#012348 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(01, 35, 72); }
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(211, 97%, 14%); }
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 #012348
RGB Code | Hex Code | Preview |
---|---|---|
rgb(01, 35, 72, 10%) | #0123481a | |
rgb(01, 35, 72, 20%) | #01234833 | |
rgb(01, 35, 72, 40%) | #0123484C | |
rgb(01, 35, 72, 60%) | #01234899 | |
rgb(01, 35, 72, 80%) | #012348CC | |
rgb(01, 35, 72, 100%) | #012348FF |
Saturated and desaturated colors of #012348
HSL Code | Preview |
---|---|
hsl(211, 10%, 14%) | |
hsl(211, 20%, 14%) | |
hsl(211, 40%, 14%) | |
hsl(211, 60%, 14%) | |
hsl(211, 80%, 14%) | |
hsl(211, 100%, 14%) |
#012348 Color Usage In CSS
body { color: #012348; } p { color: rgb(01, 35, 72); } header { border-bottom:1px solid #012348; }