#546d5a Color
Color Codes | |
---|---|
Hex Code | #546d5a |
RGB Code | rgb(84, 109, 90) |
HSL Code | hsl(134, 13%, 38%) |
#546d5a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(84, 109, 90); }
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(134, 13%, 38%); }
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 #546d5a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(84, 109, 90, 10%) | #546d5a1a | |
rgb(84, 109, 90, 20%) | #546d5a33 | |
rgb(84, 109, 90, 40%) | #546d5a4C | |
rgb(84, 109, 90, 60%) | #546d5a99 | |
rgb(84, 109, 90, 80%) | #546d5aCC | |
rgb(84, 109, 90, 100%) | #546d5aFF |
Saturated and desaturated colors of #546d5a
HSL Code | Preview |
---|---|
hsl(134, 10%, 38%) | |
hsl(134, 20%, 38%) | |
hsl(134, 40%, 38%) | |
hsl(134, 60%, 38%) | |
hsl(134, 80%, 38%) | |
hsl(134, 100%, 38%) |
#546d5a Color Usage In CSS
body { color: #546d5a; } p { color: rgb(84, 109, 90); } header { border-bottom:1px solid #546d5a; }