#20545b Color
Color Codes | |
---|---|
Hex Code | #20545b |
RGB Code | rgb(32, 84, 91) |
HSL Code | hsl(187, 48%, 24%) |
#20545b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(32, 84, 91); }
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(187, 48%, 24%); }
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 #20545b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(32, 84, 91, 10%) | #20545b1a | |
rgb(32, 84, 91, 20%) | #20545b33 | |
rgb(32, 84, 91, 40%) | #20545b4C | |
rgb(32, 84, 91, 60%) | #20545b99 | |
rgb(32, 84, 91, 80%) | #20545bCC | |
rgb(32, 84, 91, 100%) | #20545bFF |
Saturated and desaturated colors of #20545b
HSL Code | Preview |
---|---|
hsl(187, 10%, 24%) | |
hsl(187, 20%, 24%) | |
hsl(187, 40%, 24%) | |
hsl(187, 60%, 24%) | |
hsl(187, 80%, 24%) | |
hsl(187, 100%, 24%) |
#20545b Color Usage In CSS
body { color: #20545b; } p { color: rgb(32, 84, 91); } header { border-bottom:1px solid #20545b; }