#14306a Color
Color Codes | |
---|---|
Hex Code | #14306a |
RGB Code | rgb(20, 48, 106) |
HSL Code | hsl(220, 68%, 25%) |
#14306a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(20, 48, 106); }
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(220, 68%, 25%); }
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 #14306a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(20, 48, 106, 10%) | #14306a1a | |
rgb(20, 48, 106, 20%) | #14306a33 | |
rgb(20, 48, 106, 40%) | #14306a4C | |
rgb(20, 48, 106, 60%) | #14306a99 | |
rgb(20, 48, 106, 80%) | #14306aCC | |
rgb(20, 48, 106, 100%) | #14306aFF |
Saturated and desaturated colors of #14306a
HSL Code | Preview |
---|---|
hsl(220, 10%, 25%) | |
hsl(220, 20%, 25%) | |
hsl(220, 40%, 25%) | |
hsl(220, 60%, 25%) | |
hsl(220, 80%, 25%) | |
hsl(220, 100%, 25%) |
#14306a Color Usage In CSS
body { color: #14306a; } p { color: rgb(20, 48, 106); } header { border-bottom:1px solid #14306a; }