#5a5459 Color
Color Codes | |
---|---|
Hex Code | #5a5459 |
RGB Code | rgb(90, 84, 89) |
HSL Code | hsl(310, 3%, 34%) |
#5a5459 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(90, 84, 89); }
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(310, 3%, 34%); }
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 #5a5459
RGB Code | Hex Code | Preview |
---|---|---|
rgb(90, 84, 89, 10%) | #5a54591a | |
rgb(90, 84, 89, 20%) | #5a545933 | |
rgb(90, 84, 89, 40%) | #5a54594C | |
rgb(90, 84, 89, 60%) | #5a545999 | |
rgb(90, 84, 89, 80%) | #5a5459CC | |
rgb(90, 84, 89, 100%) | #5a5459FF |
Saturated and desaturated colors of #5a5459
HSL Code | Preview |
---|---|
hsl(310, 10%, 34%) | |
hsl(310, 20%, 34%) | |
hsl(310, 40%, 34%) | |
hsl(310, 60%, 34%) | |
hsl(310, 80%, 34%) | |
hsl(310, 100%, 34%) |
#5a5459 Color Usage In CSS
body { color: #5a5459; } p { color: rgb(90, 84, 89); } header { border-bottom:1px solid #5a5459; }