#561c2f Color
Color Codes | |
---|---|
Hex Code | #561c2f |
RGB Code | rgb(86, 28, 47) |
HSL Code | hsl(340, 51%, 22%) |
#561c2f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(86, 28, 47); }
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(340, 51%, 22%); }
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 #561c2f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(86, 28, 47, 10%) | #561c2f1a | |
rgb(86, 28, 47, 20%) | #561c2f33 | |
rgb(86, 28, 47, 40%) | #561c2f4C | |
rgb(86, 28, 47, 60%) | #561c2f99 | |
rgb(86, 28, 47, 80%) | #561c2fCC | |
rgb(86, 28, 47, 100%) | #561c2fFF |
Saturated and desaturated colors of #561c2f
HSL Code | Preview |
---|---|
hsl(340, 10%, 22%) | |
hsl(340, 20%, 22%) | |
hsl(340, 40%, 22%) | |
hsl(340, 60%, 22%) | |
hsl(340, 80%, 22%) | |
hsl(340, 100%, 22%) |
#561c2f Color Usage In CSS
body { color: #561c2f; } p { color: rgb(86, 28, 47); } header { border-bottom:1px solid #561c2f; }