#14285f Color
Color Codes | |
---|---|
Hex Code | #14285f |
RGB Code | rgb(20, 40, 95) |
HSL Code | hsl(224, 65%, 23%) |
#14285f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(20, 40, 95); }
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, 65%, 23%); }
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 #14285f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(20, 40, 95, 10%) | #14285f1a | |
rgb(20, 40, 95, 20%) | #14285f33 | |
rgb(20, 40, 95, 40%) | #14285f4C | |
rgb(20, 40, 95, 60%) | #14285f99 | |
rgb(20, 40, 95, 80%) | #14285fCC | |
rgb(20, 40, 95, 100%) | #14285fFF |
Saturated and desaturated colors of #14285f
HSL Code | Preview |
---|---|
hsl(224, 10%, 23%) | |
hsl(224, 20%, 23%) | |
hsl(224, 40%, 23%) | |
hsl(224, 60%, 23%) | |
hsl(224, 80%, 23%) | |
hsl(224, 100%, 23%) |
#14285f Color Usage In CSS
body { color: #14285f; } p { color: rgb(20, 40, 95); } header { border-bottom:1px solid #14285f; }