#122d60 Color
Color Codes | |
---|---|
Hex Code | #122d60 |
RGB Code | rgb(18, 45, 96) |
HSL Code | hsl(219, 68%, 22%) |
#122d60 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 45, 96); }
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, 68%, 22%); }
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 #122d60
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 45, 96, 10%) | #122d601a | |
rgb(18, 45, 96, 20%) | #122d6033 | |
rgb(18, 45, 96, 40%) | #122d604C | |
rgb(18, 45, 96, 60%) | #122d6099 | |
rgb(18, 45, 96, 80%) | #122d60CC | |
rgb(18, 45, 96, 100%) | #122d60FF |
Saturated and desaturated colors of #122d60
HSL Code | Preview |
---|---|
hsl(219, 10%, 22%) | |
hsl(219, 20%, 22%) | |
hsl(219, 40%, 22%) | |
hsl(219, 60%, 22%) | |
hsl(219, 80%, 22%) | |
hsl(219, 100%, 22%) |
#122d60 Color Usage In CSS
body { color: #122d60; } p { color: rgb(18, 45, 96); } header { border-bottom:1px solid #122d60; }