#da340c Color
Color Codes | |
---|---|
Hex Code | #da340c |
RGB Code | rgb(218, 52, 12) |
HSL Code | hsl(12, 90%, 45%) |
#da340c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(218, 52, 12); }
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(12, 90%, 45%); }
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 #da340c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(218, 52, 12, 10%) | #da340c1a | |
rgb(218, 52, 12, 20%) | #da340c33 | |
rgb(218, 52, 12, 40%) | #da340c4C | |
rgb(218, 52, 12, 60%) | #da340c99 | |
rgb(218, 52, 12, 80%) | #da340cCC | |
rgb(218, 52, 12, 100%) | #da340cFF |
Saturated and desaturated colors of #da340c
HSL Code | Preview |
---|---|
hsl(12, 10%, 45%) | |
hsl(12, 20%, 45%) | |
hsl(12, 40%, 45%) | |
hsl(12, 60%, 45%) | |
hsl(12, 80%, 45%) | |
hsl(12, 100%, 45%) |
#da340c Color Usage In CSS
body { color: #da340c; } p { color: rgb(218, 52, 12); } header { border-bottom:1px solid #da340c; }