#596ccc Color
Color Codes | |
---|---|
Hex Code | #596ccc |
RGB Code | rgb(89, 108, 204) |
HSL Code | hsl(230, 53%, 57%) |
#596ccc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(89, 108, 204); }
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(230, 53%, 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 #596ccc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(89, 108, 204, 10%) | #596ccc1a | |
rgb(89, 108, 204, 20%) | #596ccc33 | |
rgb(89, 108, 204, 40%) | #596ccc4C | |
rgb(89, 108, 204, 60%) | #596ccc99 | |
rgb(89, 108, 204, 80%) | #596cccCC | |
rgb(89, 108, 204, 100%) | #596cccFF |
Saturated and desaturated colors of #596ccc
HSL Code | Preview |
---|---|
hsl(230, 10%, 57%) | |
hsl(230, 20%, 57%) | |
hsl(230, 40%, 57%) | |
hsl(230, 60%, 57%) | |
hsl(230, 80%, 57%) | |
hsl(230, 100%, 57%) |
#596ccc Color Usage In CSS
body { color: #596ccc; } p { color: rgb(89, 108, 204); } header { border-bottom:1px solid #596ccc; }