#7b2b11 Color
Color Codes | |
---|---|
Hex Code | #7b2b11 |
RGB Code | rgb(123, 43, 17) |
HSL Code | hsl(15, 76%, 27%) |
#7b2b11 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(123, 43, 17); }
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(15, 76%, 27%); }
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 #7b2b11
RGB Code | Hex Code | Preview |
---|---|---|
rgb(123, 43, 17, 10%) | #7b2b111a | |
rgb(123, 43, 17, 20%) | #7b2b1133 | |
rgb(123, 43, 17, 40%) | #7b2b114C | |
rgb(123, 43, 17, 60%) | #7b2b1199 | |
rgb(123, 43, 17, 80%) | #7b2b11CC | |
rgb(123, 43, 17, 100%) | #7b2b11FF |
Saturated and desaturated colors of #7b2b11
HSL Code | Preview |
---|---|
hsl(15, 10%, 27%) | |
hsl(15, 20%, 27%) | |
hsl(15, 40%, 27%) | |
hsl(15, 60%, 27%) | |
hsl(15, 80%, 27%) | |
hsl(15, 100%, 27%) |
#7b2b11 Color Usage In CSS
body { color: #7b2b11; } p { color: rgb(123, 43, 17); } header { border-bottom:1px solid #7b2b11; }