#56a9cd Color
Color Codes | |
---|---|
Hex Code | #56a9cd |
RGB Code | rgb(86, 169, 205) |
HSL Code | hsl(198, 54%, 57%) |
#56a9cd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(86, 169, 205); }
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(198, 54%, 57%); }
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 #56a9cd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(86, 169, 205, 10%) | #56a9cd1a | |
rgb(86, 169, 205, 20%) | #56a9cd33 | |
rgb(86, 169, 205, 40%) | #56a9cd4C | |
rgb(86, 169, 205, 60%) | #56a9cd99 | |
rgb(86, 169, 205, 80%) | #56a9cdCC | |
rgb(86, 169, 205, 100%) | #56a9cdFF |
Saturated and desaturated colors of #56a9cd
HSL Code | Preview |
---|---|
hsl(198, 10%, 57%) | |
hsl(198, 20%, 57%) | |
hsl(198, 40%, 57%) | |
hsl(198, 60%, 57%) | |
hsl(198, 80%, 57%) | |
hsl(198, 100%, 57%) |
#56a9cd Color Usage In CSS
body { color: #56a9cd; } p { color: rgb(86, 169, 205); } header { border-bottom:1px solid #56a9cd; }