#dc4f37 Color
Color Codes | |
---|---|
Hex Code | #dc4f37 |
RGB Code | rgb(220, 79, 55) |
HSL Code | hsl(9, 70%, 54%) |
#dc4f37 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 79, 55); }
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(9, 70%, 54%); }
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 #dc4f37
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 79, 55, 10%) | #dc4f371a | |
rgb(220, 79, 55, 20%) | #dc4f3733 | |
rgb(220, 79, 55, 40%) | #dc4f374C | |
rgb(220, 79, 55, 60%) | #dc4f3799 | |
rgb(220, 79, 55, 80%) | #dc4f37CC | |
rgb(220, 79, 55, 100%) | #dc4f37FF |
Saturated and desaturated colors of #dc4f37
HSL Code | Preview |
---|---|
hsl(9, 10%, 54%) | |
hsl(9, 20%, 54%) | |
hsl(9, 40%, 54%) | |
hsl(9, 60%, 54%) | |
hsl(9, 80%, 54%) | |
hsl(9, 100%, 54%) |
#dc4f37 Color Usage In CSS
body { color: #dc4f37; } p { color: rgb(220, 79, 55); } header { border-bottom:1px solid #dc4f37; }