#962d2e Color
Color Codes | |
---|---|
Hex Code | #962d2e |
RGB Code | rgb(150, 45, 46) |
HSL Code | hsl(359, 54%, 38%) |
#962d2e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(150, 45, 46); }
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(359, 54%, 38%); }
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 #962d2e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(150, 45, 46, 10%) | #962d2e1a | |
rgb(150, 45, 46, 20%) | #962d2e33 | |
rgb(150, 45, 46, 40%) | #962d2e4C | |
rgb(150, 45, 46, 60%) | #962d2e99 | |
rgb(150, 45, 46, 80%) | #962d2eCC | |
rgb(150, 45, 46, 100%) | #962d2eFF |
Saturated and desaturated colors of #962d2e
HSL Code | Preview |
---|---|
hsl(359, 10%, 38%) | |
hsl(359, 20%, 38%) | |
hsl(359, 40%, 38%) | |
hsl(359, 60%, 38%) | |
hsl(359, 80%, 38%) | |
hsl(359, 100%, 38%) |
#962d2e Color Usage In CSS
body { color: #962d2e; } p { color: rgb(150, 45, 46); } header { border-bottom:1px solid #962d2e; }