#8f6146 Color
Color Codes | |
---|---|
Hex Code | #8f6146 |
RGB Code | rgb(143, 97, 70) |
HSL Code | hsl(22, 34%, 42%) |
#8f6146 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(143, 97, 70); }
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(22, 34%, 42%); }
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 #8f6146
RGB Code | Hex Code | Preview |
---|---|---|
rgb(143, 97, 70, 10%) | #8f61461a | |
rgb(143, 97, 70, 20%) | #8f614633 | |
rgb(143, 97, 70, 40%) | #8f61464C | |
rgb(143, 97, 70, 60%) | #8f614699 | |
rgb(143, 97, 70, 80%) | #8f6146CC | |
rgb(143, 97, 70, 100%) | #8f6146FF |
Saturated and desaturated colors of #8f6146
HSL Code | Preview |
---|---|
hsl(22, 10%, 42%) | |
hsl(22, 20%, 42%) | |
hsl(22, 40%, 42%) | |
hsl(22, 60%, 42%) | |
hsl(22, 80%, 42%) | |
hsl(22, 100%, 42%) |
#8f6146 Color Usage In CSS
body { color: #8f6146; } p { color: rgb(143, 97, 70); } header { border-bottom:1px solid #8f6146; }