#474b57 Color
Color Codes | |
---|---|
Hex Code | #474b57 |
RGB Code | rgb(71, 75, 87) |
HSL Code | hsl(225, 10%, 31%) |
#474b57 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(71, 75, 87); }
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(225, 10%, 31%); }
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 #474b57
RGB Code | Hex Code | Preview |
---|---|---|
rgb(71, 75, 87, 10%) | #474b571a | |
rgb(71, 75, 87, 20%) | #474b5733 | |
rgb(71, 75, 87, 40%) | #474b574C | |
rgb(71, 75, 87, 60%) | #474b5799 | |
rgb(71, 75, 87, 80%) | #474b57CC | |
rgb(71, 75, 87, 100%) | #474b57FF |
Saturated and desaturated colors of #474b57
HSL Code | Preview |
---|---|
hsl(225, 10%, 31%) | |
hsl(225, 20%, 31%) | |
hsl(225, 40%, 31%) | |
hsl(225, 60%, 31%) | |
hsl(225, 80%, 31%) | |
hsl(225, 100%, 31%) |
#474b57 Color Usage In CSS
body { color: #474b57; } p { color: rgb(71, 75, 87); } header { border-bottom:1px solid #474b57; }