#2247aa Color
Color Codes | |
---|---|
Hex Code | #2247aa |
RGB Code | rgb(34, 71, 170) |
HSL Code | hsl(224, 67%, 40%) |
#2247aa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(34, 71, 170); }
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, 67%, 40%); }
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 #2247aa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(34, 71, 170, 10%) | #2247aa1a | |
rgb(34, 71, 170, 20%) | #2247aa33 | |
rgb(34, 71, 170, 40%) | #2247aa4C | |
rgb(34, 71, 170, 60%) | #2247aa99 | |
rgb(34, 71, 170, 80%) | #2247aaCC | |
rgb(34, 71, 170, 100%) | #2247aaFF |
Saturated and desaturated colors of #2247aa
HSL Code | Preview |
---|---|
hsl(224, 10%, 40%) | |
hsl(224, 20%, 40%) | |
hsl(224, 40%, 40%) | |
hsl(224, 60%, 40%) | |
hsl(224, 80%, 40%) | |
hsl(224, 100%, 40%) |
#2247aa Color Usage In CSS
body { color: #2247aa; } p { color: rgb(34, 71, 170); } header { border-bottom:1px solid #2247aa; }