#9f1104 Color
Color Codes | |
---|---|
Hex Code | #9f1104 |
RGB Code | rgb(159, 17, 04) |
HSL Code | hsl(5, 95%, 32%) |
#9f1104 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(159, 17, 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(5, 95%, 32%); }
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 #9f1104
RGB Code | Hex Code | Preview |
---|---|---|
rgb(159, 17, 04, 10%) | #9f11041a | |
rgb(159, 17, 04, 20%) | #9f110433 | |
rgb(159, 17, 04, 40%) | #9f11044C | |
rgb(159, 17, 04, 60%) | #9f110499 | |
rgb(159, 17, 04, 80%) | #9f1104CC | |
rgb(159, 17, 04, 100%) | #9f1104FF |
Saturated and desaturated colors of #9f1104
HSL Code | Preview |
---|---|
hsl(5, 10%, 32%) | |
hsl(5, 20%, 32%) | |
hsl(5, 40%, 32%) | |
hsl(5, 60%, 32%) | |
hsl(5, 80%, 32%) | |
hsl(5, 100%, 32%) |
#9f1104 Color Usage In CSS
body { color: #9f1104; } p { color: rgb(159, 17, 04); } header { border-bottom:1px solid #9f1104; }