#d11924 Color
Color Codes | |
---|---|
Hex Code | #d11924 |
RGB Code | rgb(209, 25, 36) |
HSL Code | hsl(356, 79%, 46%) |
#d11924 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(209, 25, 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(356, 79%, 46%); }
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 #d11924
RGB Code | Hex Code | Preview |
---|---|---|
rgb(209, 25, 36, 10%) | #d119241a | |
rgb(209, 25, 36, 20%) | #d1192433 | |
rgb(209, 25, 36, 40%) | #d119244C | |
rgb(209, 25, 36, 60%) | #d1192499 | |
rgb(209, 25, 36, 80%) | #d11924CC | |
rgb(209, 25, 36, 100%) | #d11924FF |
Saturated and desaturated colors of #d11924
HSL Code | Preview |
---|---|
hsl(356, 10%, 46%) | |
hsl(356, 20%, 46%) | |
hsl(356, 40%, 46%) | |
hsl(356, 60%, 46%) | |
hsl(356, 80%, 46%) | |
hsl(356, 100%, 46%) |
#d11924 Color Usage In CSS
body { color: #d11924; } p { color: rgb(209, 25, 36); } header { border-bottom:1px solid #d11924; }