#013271 Color
Color Codes | |
---|---|
Hex Code | #013271 |
RGB Code | rgb(01, 50, 113) |
HSL Code | hsl(214, 98%, 22%) |
#013271 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(01, 50, 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(214, 98%, 22%); }
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 #013271
RGB Code | Hex Code | Preview |
---|---|---|
rgb(01, 50, 113, 10%) | #0132711a | |
rgb(01, 50, 113, 20%) | #01327133 | |
rgb(01, 50, 113, 40%) | #0132714C | |
rgb(01, 50, 113, 60%) | #01327199 | |
rgb(01, 50, 113, 80%) | #013271CC | |
rgb(01, 50, 113, 100%) | #013271FF |
Saturated and desaturated colors of #013271
HSL Code | Preview |
---|---|
hsl(214, 10%, 22%) | |
hsl(214, 20%, 22%) | |
hsl(214, 40%, 22%) | |
hsl(214, 60%, 22%) | |
hsl(214, 80%, 22%) | |
hsl(214, 100%, 22%) |
#013271 Color Usage In CSS
body { color: #013271; } p { color: rgb(01, 50, 113); } header { border-bottom:1px solid #013271; }