#9d0020 Color
Color Codes | |
---|---|
Hex Code | #9d0020 |
RGB Code | rgb(157, 00, 32) |
HSL Code | hsl(348, 100%, 31%) |
#9d0020 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(157, 00, 32); }
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(348, 100%, 31%); }
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 #9d0020
RGB Code | Hex Code | Preview |
---|---|---|
rgb(157, 00, 32, 10%) | #9d00201a | |
rgb(157, 00, 32, 20%) | #9d002033 | |
rgb(157, 00, 32, 40%) | #9d00204C | |
rgb(157, 00, 32, 60%) | #9d002099 | |
rgb(157, 00, 32, 80%) | #9d0020CC | |
rgb(157, 00, 32, 100%) | #9d0020FF |
Saturated and desaturated colors of #9d0020
HSL Code | Preview |
---|---|
hsl(348, 10%, 31%) | |
hsl(348, 20%, 31%) | |
hsl(348, 40%, 31%) | |
hsl(348, 60%, 31%) | |
hsl(348, 80%, 31%) | |
hsl(348, 100%, 31%) |
#9d0020 Color Usage In CSS
body { color: #9d0020; } p { color: rgb(157, 00, 32); } header { border-bottom:1px solid #9d0020; }