#d32d24 Color
Color Codes | |
---|---|
Hex Code | #d32d24 |
RGB Code | rgb(211, 45, 36) |
HSL Code | hsl(3, 71%, 48%) |
#d32d24 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(211, 45, 36); }
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(3, 71%, 48%); }
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 #d32d24
RGB Code | Hex Code | Preview |
---|---|---|
rgb(211, 45, 36, 10%) | #d32d241a | |
rgb(211, 45, 36, 20%) | #d32d2433 | |
rgb(211, 45, 36, 40%) | #d32d244C | |
rgb(211, 45, 36, 60%) | #d32d2499 | |
rgb(211, 45, 36, 80%) | #d32d24CC | |
rgb(211, 45, 36, 100%) | #d32d24FF |
Saturated and desaturated colors of #d32d24
HSL Code | Preview |
---|---|
hsl(3, 10%, 48%) | |
hsl(3, 20%, 48%) | |
hsl(3, 40%, 48%) | |
hsl(3, 60%, 48%) | |
hsl(3, 80%, 48%) | |
hsl(3, 100%, 48%) |
#d32d24 Color Usage In CSS
body { color: #d32d24; } p { color: rgb(211, 45, 36); } header { border-bottom:1px solid #d32d24; }