#d83111 Color
Color Codes | |
---|---|
Hex Code | #d83111 |
RGB Code | rgb(216, 49, 17) |
HSL Code | hsl(10, 85%, 46%) |
#d83111 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(216, 49, 17); }
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(10, 85%, 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 #d83111
RGB Code | Hex Code | Preview |
---|---|---|
rgb(216, 49, 17, 10%) | #d831111a | |
rgb(216, 49, 17, 20%) | #d8311133 | |
rgb(216, 49, 17, 40%) | #d831114C | |
rgb(216, 49, 17, 60%) | #d8311199 | |
rgb(216, 49, 17, 80%) | #d83111CC | |
rgb(216, 49, 17, 100%) | #d83111FF |
Saturated and desaturated colors of #d83111
HSL Code | Preview |
---|---|
hsl(10, 10%, 46%) | |
hsl(10, 20%, 46%) | |
hsl(10, 40%, 46%) | |
hsl(10, 60%, 46%) | |
hsl(10, 80%, 46%) | |
hsl(10, 100%, 46%) |
#d83111 Color Usage In CSS
body { color: #d83111; } p { color: rgb(216, 49, 17); } header { border-bottom:1px solid #d83111; }