#5b657a Color
Color Codes | |
---|---|
Hex Code | #5b657a |
RGB Code | rgb(91, 101, 122) |
HSL Code | hsl(221, 15%, 42%) |
#5b657a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(91, 101, 122); }
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(221, 15%, 42%); }
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 #5b657a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(91, 101, 122, 10%) | #5b657a1a | |
rgb(91, 101, 122, 20%) | #5b657a33 | |
rgb(91, 101, 122, 40%) | #5b657a4C | |
rgb(91, 101, 122, 60%) | #5b657a99 | |
rgb(91, 101, 122, 80%) | #5b657aCC | |
rgb(91, 101, 122, 100%) | #5b657aFF |
Saturated and desaturated colors of #5b657a
HSL Code | Preview |
---|---|
hsl(221, 10%, 42%) | |
hsl(221, 20%, 42%) | |
hsl(221, 40%, 42%) | |
hsl(221, 60%, 42%) | |
hsl(221, 80%, 42%) | |
hsl(221, 100%, 42%) |
#5b657a Color Usage In CSS
body { color: #5b657a; } p { color: rgb(91, 101, 122); } header { border-bottom:1px solid #5b657a; }