#5797e7 Color
Color Codes | |
---|---|
Hex Code | #5797e7 |
RGB Code | rgb(87, 151, 231) |
HSL Code | hsl(213, 75%, 62%) |
#5797e7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(87, 151, 231); }
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(213, 75%, 62%); }
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 #5797e7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(87, 151, 231, 10%) | #5797e71a | |
rgb(87, 151, 231, 20%) | #5797e733 | |
rgb(87, 151, 231, 40%) | #5797e74C | |
rgb(87, 151, 231, 60%) | #5797e799 | |
rgb(87, 151, 231, 80%) | #5797e7CC | |
rgb(87, 151, 231, 100%) | #5797e7FF |
Saturated and desaturated colors of #5797e7
HSL Code | Preview |
---|---|
hsl(213, 10%, 62%) | |
hsl(213, 20%, 62%) | |
hsl(213, 40%, 62%) | |
hsl(213, 60%, 62%) | |
hsl(213, 80%, 62%) | |
hsl(213, 100%, 62%) |
#5797e7 Color Usage In CSS
body { color: #5797e7; } p { color: rgb(87, 151, 231); } header { border-bottom:1px solid #5797e7; }