#8a3628 Color
Color Codes | |
---|---|
Hex Code | #8a3628 |
RGB Code | rgb(138, 54, 40) |
HSL Code | hsl(9, 55%, 35%) |
#8a3628 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(138, 54, 40); }
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(9, 55%, 35%); }
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 #8a3628
RGB Code | Hex Code | Preview |
---|---|---|
rgb(138, 54, 40, 10%) | #8a36281a | |
rgb(138, 54, 40, 20%) | #8a362833 | |
rgb(138, 54, 40, 40%) | #8a36284C | |
rgb(138, 54, 40, 60%) | #8a362899 | |
rgb(138, 54, 40, 80%) | #8a3628CC | |
rgb(138, 54, 40, 100%) | #8a3628FF |
Saturated and desaturated colors of #8a3628
HSL Code | Preview |
---|---|
hsl(9, 10%, 35%) | |
hsl(9, 20%, 35%) | |
hsl(9, 40%, 35%) | |
hsl(9, 60%, 35%) | |
hsl(9, 80%, 35%) | |
hsl(9, 100%, 35%) |
#8a3628 Color Usage In CSS
body { color: #8a3628; } p { color: rgb(138, 54, 40); } header { border-bottom:1px solid #8a3628; }