#160c49 Color
Color Codes | |
---|---|
Hex Code | #160c49 |
RGB Code | rgb(22, 12, 73) |
HSL Code | hsl(250, 72%, 17%) |
#160c49 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(22, 12, 73); }
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(250, 72%, 17%); }
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 #160c49
RGB Code | Hex Code | Preview |
---|---|---|
rgb(22, 12, 73, 10%) | #160c491a | |
rgb(22, 12, 73, 20%) | #160c4933 | |
rgb(22, 12, 73, 40%) | #160c494C | |
rgb(22, 12, 73, 60%) | #160c4999 | |
rgb(22, 12, 73, 80%) | #160c49CC | |
rgb(22, 12, 73, 100%) | #160c49FF |
Saturated and desaturated colors of #160c49
HSL Code | Preview |
---|---|
hsl(250, 10%, 17%) | |
hsl(250, 20%, 17%) | |
hsl(250, 40%, 17%) | |
hsl(250, 60%, 17%) | |
hsl(250, 80%, 17%) | |
hsl(250, 100%, 17%) |
#160c49 Color Usage In CSS
body { color: #160c49; } p { color: rgb(22, 12, 73); } header { border-bottom:1px solid #160c49; }