#5184b9 Color
Color Codes | |
---|---|
Hex Code | #5184b9 |
RGB Code | rgb(81, 132, 185) |
HSL Code | hsl(211, 43%, 52%) |
#5184b9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(81, 132, 185); }
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(211, 43%, 52%); }
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 #5184b9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(81, 132, 185, 10%) | #5184b91a | |
rgb(81, 132, 185, 20%) | #5184b933 | |
rgb(81, 132, 185, 40%) | #5184b94C | |
rgb(81, 132, 185, 60%) | #5184b999 | |
rgb(81, 132, 185, 80%) | #5184b9CC | |
rgb(81, 132, 185, 100%) | #5184b9FF |
Saturated and desaturated colors of #5184b9
HSL Code | Preview |
---|---|
hsl(211, 10%, 52%) | |
hsl(211, 20%, 52%) | |
hsl(211, 40%, 52%) | |
hsl(211, 60%, 52%) | |
hsl(211, 80%, 52%) | |
hsl(211, 100%, 52%) |
#5184b9 Color Usage In CSS
body { color: #5184b9; } p { color: rgb(81, 132, 185); } header { border-bottom:1px solid #5184b9; }