#dc3924 Color
Color Codes | |
---|---|
Hex Code | #dc3924 |
RGB Code | rgb(220, 57, 36) |
HSL Code | hsl(7, 72%, 50%) |
#dc3924 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 57, 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(7, 72%, 50%); }
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 #dc3924
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 57, 36, 10%) | #dc39241a | |
rgb(220, 57, 36, 20%) | #dc392433 | |
rgb(220, 57, 36, 40%) | #dc39244C | |
rgb(220, 57, 36, 60%) | #dc392499 | |
rgb(220, 57, 36, 80%) | #dc3924CC | |
rgb(220, 57, 36, 100%) | #dc3924FF |
Saturated and desaturated colors of #dc3924
HSL Code | Preview |
---|---|
hsl(7, 10%, 50%) | |
hsl(7, 20%, 50%) | |
hsl(7, 40%, 50%) | |
hsl(7, 60%, 50%) | |
hsl(7, 80%, 50%) | |
hsl(7, 100%, 50%) |
#dc3924 Color Usage In CSS
body { color: #dc3924; } p { color: rgb(220, 57, 36); } header { border-bottom:1px solid #dc3924; }