#5570af Color
Color Codes | |
---|---|
Hex Code | #5570af |
RGB Code | rgb(85, 112, 175) |
HSL Code | hsl(222, 36%, 51%) |
#5570af Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(85, 112, 175); }
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(222, 36%, 51%); }
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 #5570af
RGB Code | Hex Code | Preview |
---|---|---|
rgb(85, 112, 175, 10%) | #5570af1a | |
rgb(85, 112, 175, 20%) | #5570af33 | |
rgb(85, 112, 175, 40%) | #5570af4C | |
rgb(85, 112, 175, 60%) | #5570af99 | |
rgb(85, 112, 175, 80%) | #5570afCC | |
rgb(85, 112, 175, 100%) | #5570afFF |
Saturated and desaturated colors of #5570af
HSL Code | Preview |
---|---|
hsl(222, 10%, 51%) | |
hsl(222, 20%, 51%) | |
hsl(222, 40%, 51%) | |
hsl(222, 60%, 51%) | |
hsl(222, 80%, 51%) | |
hsl(222, 100%, 51%) |
#5570af Color Usage In CSS
body { color: #5570af; } p { color: rgb(85, 112, 175); } header { border-bottom:1px solid #5570af; }