#29152f Color
Color Codes | |
---|---|
Hex Code | #29152f |
RGB Code | rgb(41, 21, 47) |
HSL Code | hsl(286, 38%, 13%) |
#29152f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(41, 21, 47); }
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(286, 38%, 13%); }
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 #29152f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(41, 21, 47, 10%) | #29152f1a | |
rgb(41, 21, 47, 20%) | #29152f33 | |
rgb(41, 21, 47, 40%) | #29152f4C | |
rgb(41, 21, 47, 60%) | #29152f99 | |
rgb(41, 21, 47, 80%) | #29152fCC | |
rgb(41, 21, 47, 100%) | #29152fFF |
Saturated and desaturated colors of #29152f
HSL Code | Preview |
---|---|
hsl(286, 10%, 13%) | |
hsl(286, 20%, 13%) | |
hsl(286, 40%, 13%) | |
hsl(286, 60%, 13%) | |
hsl(286, 80%, 13%) | |
hsl(286, 100%, 13%) |
#29152f Color Usage In CSS
body { color: #29152f; } p { color: rgb(41, 21, 47); } header { border-bottom:1px solid #29152f; }