#6a342c Color
Color Codes | |
---|---|
Hex Code | #6a342c |
RGB Code | rgb(106, 52, 44) |
HSL Code | hsl(8, 41%, 29%) |
#6a342c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(106, 52, 44); }
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(8, 41%, 29%); }
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 #6a342c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(106, 52, 44, 10%) | #6a342c1a | |
rgb(106, 52, 44, 20%) | #6a342c33 | |
rgb(106, 52, 44, 40%) | #6a342c4C | |
rgb(106, 52, 44, 60%) | #6a342c99 | |
rgb(106, 52, 44, 80%) | #6a342cCC | |
rgb(106, 52, 44, 100%) | #6a342cFF |
Saturated and desaturated colors of #6a342c
HSL Code | Preview |
---|---|
hsl(8, 10%, 29%) | |
hsl(8, 20%, 29%) | |
hsl(8, 40%, 29%) | |
hsl(8, 60%, 29%) | |
hsl(8, 80%, 29%) | |
hsl(8, 100%, 29%) |
#6a342c Color Usage In CSS
body { color: #6a342c; } p { color: rgb(106, 52, 44); } header { border-bottom:1px solid #6a342c; }