#16054b Color
Color Codes | |
---|---|
Hex Code | #16054b |
RGB Code | rgb(22, 05, 75) |
HSL Code | hsl(255, 88%, 16%) |
#16054b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(22, 05, 75); }
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(255, 88%, 16%); }
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 #16054b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(22, 05, 75, 10%) | #16054b1a | |
rgb(22, 05, 75, 20%) | #16054b33 | |
rgb(22, 05, 75, 40%) | #16054b4C | |
rgb(22, 05, 75, 60%) | #16054b99 | |
rgb(22, 05, 75, 80%) | #16054bCC | |
rgb(22, 05, 75, 100%) | #16054bFF |
Saturated and desaturated colors of #16054b
HSL Code | Preview |
---|---|
hsl(255, 10%, 16%) | |
hsl(255, 20%, 16%) | |
hsl(255, 40%, 16%) | |
hsl(255, 60%, 16%) | |
hsl(255, 80%, 16%) | |
hsl(255, 100%, 16%) |
#16054b Color Usage In CSS
body { color: #16054b; } p { color: rgb(22, 05, 75); } header { border-bottom:1px solid #16054b; }