#535a5e Color
Color Codes | |
---|---|
Hex Code | #535a5e |
RGB Code | rgb(83, 90, 94) |
HSL Code | hsl(202, 6%, 35%) |
#535a5e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(83, 90, 94); }
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(202, 6%, 35%); }
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 #535a5e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(83, 90, 94, 10%) | #535a5e1a | |
rgb(83, 90, 94, 20%) | #535a5e33 | |
rgb(83, 90, 94, 40%) | #535a5e4C | |
rgb(83, 90, 94, 60%) | #535a5e99 | |
rgb(83, 90, 94, 80%) | #535a5eCC | |
rgb(83, 90, 94, 100%) | #535a5eFF |
Saturated and desaturated colors of #535a5e
HSL Code | Preview |
---|---|
hsl(202, 10%, 35%) | |
hsl(202, 20%, 35%) | |
hsl(202, 40%, 35%) | |
hsl(202, 60%, 35%) | |
hsl(202, 80%, 35%) | |
hsl(202, 100%, 35%) |
#535a5e Color Usage In CSS
body { color: #535a5e; } p { color: rgb(83, 90, 94); } header { border-bottom:1px solid #535a5e; }