#2173ed Color
Color Codes | |
---|---|
Hex Code | #2173ed |
RGB Code | rgb(33, 115, 237) |
HSL Code | hsl(216, 85%, 53%) |
#2173ed Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(33, 115, 237); }
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(216, 85%, 53%); }
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 #2173ed
RGB Code | Hex Code | Preview |
---|---|---|
rgb(33, 115, 237, 10%) | #2173ed1a | |
rgb(33, 115, 237, 20%) | #2173ed33 | |
rgb(33, 115, 237, 40%) | #2173ed4C | |
rgb(33, 115, 237, 60%) | #2173ed99 | |
rgb(33, 115, 237, 80%) | #2173edCC | |
rgb(33, 115, 237, 100%) | #2173edFF |
Saturated and desaturated colors of #2173ed
HSL Code | Preview |
---|---|
hsl(216, 10%, 53%) | |
hsl(216, 20%, 53%) | |
hsl(216, 40%, 53%) | |
hsl(216, 60%, 53%) | |
hsl(216, 80%, 53%) | |
hsl(216, 100%, 53%) |
#2173ed Color Usage In CSS
body { color: #2173ed; } p { color: rgb(33, 115, 237); } header { border-bottom:1px solid #2173ed; }