#122e63 Color
Color Codes | |
---|---|
Hex Code | #122e63 |
RGB Code | rgb(18, 46, 99) |
HSL Code | hsl(219, 69%, 23%) |
#122e63 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 46, 99); }
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(219, 69%, 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 #122e63
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 46, 99, 10%) | #122e631a | |
rgb(18, 46, 99, 20%) | #122e6333 | |
rgb(18, 46, 99, 40%) | #122e634C | |
rgb(18, 46, 99, 60%) | #122e6399 | |
rgb(18, 46, 99, 80%) | #122e63CC | |
rgb(18, 46, 99, 100%) | #122e63FF |
Saturated and desaturated colors of #122e63
HSL Code | Preview |
---|---|
hsl(219, 10%, 23%) | |
hsl(219, 20%, 23%) | |
hsl(219, 40%, 23%) | |
hsl(219, 60%, 23%) | |
hsl(219, 80%, 23%) | |
hsl(219, 100%, 23%) |
#122e63 Color Usage In CSS
body { color: #122e63; } p { color: rgb(18, 46, 99); } header { border-bottom:1px solid #122e63; }