#cd0b13 Color
Color Codes | |
---|---|
Hex Code | #cd0b13 |
RGB Code | rgb(205, 11, 19) |
HSL Code | hsl(358, 90%, 42%) |
#cd0b13 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(205, 11, 19); }
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(358, 90%, 42%); }
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 #cd0b13
RGB Code | Hex Code | Preview |
---|---|---|
rgb(205, 11, 19, 10%) | #cd0b131a | |
rgb(205, 11, 19, 20%) | #cd0b1333 | |
rgb(205, 11, 19, 40%) | #cd0b134C | |
rgb(205, 11, 19, 60%) | #cd0b1399 | |
rgb(205, 11, 19, 80%) | #cd0b13CC | |
rgb(205, 11, 19, 100%) | #cd0b13FF |
Saturated and desaturated colors of #cd0b13
HSL Code | Preview |
---|---|
hsl(358, 10%, 42%) | |
hsl(358, 20%, 42%) | |
hsl(358, 40%, 42%) | |
hsl(358, 60%, 42%) | |
hsl(358, 80%, 42%) | |
hsl(358, 100%, 42%) |
#cd0b13 Color Usage In CSS
body { color: #cd0b13; } p { color: rgb(205, 11, 19); } header { border-bottom:1px solid #cd0b13; }