#141f3c Color
Color Codes | |
---|---|
Hex Code | #141f3c |
RGB Code | rgb(20, 31, 60) |
HSL Code | hsl(224, 50%, 16%) |
#141f3c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(20, 31, 60); }
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(224, 50%, 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 #141f3c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(20, 31, 60, 10%) | #141f3c1a | |
rgb(20, 31, 60, 20%) | #141f3c33 | |
rgb(20, 31, 60, 40%) | #141f3c4C | |
rgb(20, 31, 60, 60%) | #141f3c99 | |
rgb(20, 31, 60, 80%) | #141f3cCC | |
rgb(20, 31, 60, 100%) | #141f3cFF |
Saturated and desaturated colors of #141f3c
HSL Code | Preview |
---|---|
hsl(224, 10%, 16%) | |
hsl(224, 20%, 16%) | |
hsl(224, 40%, 16%) | |
hsl(224, 60%, 16%) | |
hsl(224, 80%, 16%) | |
hsl(224, 100%, 16%) |
#141f3c Color Usage In CSS
body { color: #141f3c; } p { color: rgb(20, 31, 60); } header { border-bottom:1px solid #141f3c; }