#7d0016 Color
Color Codes | |
---|---|
Hex Code | #7d0016 |
RGB Code | rgb(125, 00, 22) |
HSL Code | hsl(349, 100%, 25%) |
#7d0016 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(125, 00, 22); }
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(349, 100%, 25%); }
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 #7d0016
RGB Code | Hex Code | Preview |
---|---|---|
rgb(125, 00, 22, 10%) | #7d00161a | |
rgb(125, 00, 22, 20%) | #7d001633 | |
rgb(125, 00, 22, 40%) | #7d00164C | |
rgb(125, 00, 22, 60%) | #7d001699 | |
rgb(125, 00, 22, 80%) | #7d0016CC | |
rgb(125, 00, 22, 100%) | #7d0016FF |
Saturated and desaturated colors of #7d0016
HSL Code | Preview |
---|---|
hsl(349, 10%, 25%) | |
hsl(349, 20%, 25%) | |
hsl(349, 40%, 25%) | |
hsl(349, 60%, 25%) | |
hsl(349, 80%, 25%) | |
hsl(349, 100%, 25%) |
#7d0016 Color Usage In CSS
body { color: #7d0016; } p { color: rgb(125, 00, 22); } header { border-bottom:1px solid #7d0016; }