#5495ae Color
Color Codes | |
---|---|
Hex Code | #5495ae |
RGB Code | rgb(84, 149, 174) |
HSL Code | hsl(197, 36%, 51%) |
#5495ae Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(84, 149, 174); }
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(197, 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 #5495ae
RGB Code | Hex Code | Preview |
---|---|---|
rgb(84, 149, 174, 10%) | #5495ae1a | |
rgb(84, 149, 174, 20%) | #5495ae33 | |
rgb(84, 149, 174, 40%) | #5495ae4C | |
rgb(84, 149, 174, 60%) | #5495ae99 | |
rgb(84, 149, 174, 80%) | #5495aeCC | |
rgb(84, 149, 174, 100%) | #5495aeFF |
Saturated and desaturated colors of #5495ae
HSL Code | Preview |
---|---|
hsl(197, 10%, 51%) | |
hsl(197, 20%, 51%) | |
hsl(197, 40%, 51%) | |
hsl(197, 60%, 51%) | |
hsl(197, 80%, 51%) | |
hsl(197, 100%, 51%) |
#5495ae Color Usage In CSS
body { color: #5495ae; } p { color: rgb(84, 149, 174); } header { border-bottom:1px solid #5495ae; }