#8d2f29 Color
Color Codes | |
---|---|
Hex Code | #8d2f29 |
RGB Code | rgb(141, 47, 41) |
HSL Code | hsl(4, 55%, 36%) |
#8d2f29 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(141, 47, 41); }
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(4, 55%, 36%); }
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 #8d2f29
RGB Code | Hex Code | Preview |
---|---|---|
rgb(141, 47, 41, 10%) | #8d2f291a | |
rgb(141, 47, 41, 20%) | #8d2f2933 | |
rgb(141, 47, 41, 40%) | #8d2f294C | |
rgb(141, 47, 41, 60%) | #8d2f2999 | |
rgb(141, 47, 41, 80%) | #8d2f29CC | |
rgb(141, 47, 41, 100%) | #8d2f29FF |
Saturated and desaturated colors of #8d2f29
HSL Code | Preview |
---|---|
hsl(4, 10%, 36%) | |
hsl(4, 20%, 36%) | |
hsl(4, 40%, 36%) | |
hsl(4, 60%, 36%) | |
hsl(4, 80%, 36%) | |
hsl(4, 100%, 36%) |
#8d2f29 Color Usage In CSS
body { color: #8d2f29; } p { color: rgb(141, 47, 41); } header { border-bottom:1px solid #8d2f29; }