#cd1804 Color
Color Codes | |
---|---|
Hex Code | #cd1804 |
RGB Code | rgb(205, 24, 04) |
HSL Code | hsl(6, 96%, 41%) |
#cd1804 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(205, 24, 04); }
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(6, 96%, 41%); }
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 #cd1804
RGB Code | Hex Code | Preview |
---|---|---|
rgb(205, 24, 04, 10%) | #cd18041a | |
rgb(205, 24, 04, 20%) | #cd180433 | |
rgb(205, 24, 04, 40%) | #cd18044C | |
rgb(205, 24, 04, 60%) | #cd180499 | |
rgb(205, 24, 04, 80%) | #cd1804CC | |
rgb(205, 24, 04, 100%) | #cd1804FF |
Saturated and desaturated colors of #cd1804
HSL Code | Preview |
---|---|
hsl(6, 10%, 41%) | |
hsl(6, 20%, 41%) | |
hsl(6, 40%, 41%) | |
hsl(6, 60%, 41%) | |
hsl(6, 80%, 41%) | |
hsl(6, 100%, 41%) |
#cd1804 Color Usage In CSS
body { color: #cd1804; } p { color: rgb(205, 24, 04); } header { border-bottom:1px solid #cd1804; }