#9c0809 Color
Color Codes | |
---|---|
Hex Code | #9c0809 |
RGB Code | rgb(156, 08, 09) |
HSL Code | hsl(360, 90%, 32%) |
#9c0809 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(156, 08, 09); }
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(360, 90%, 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 #9c0809
RGB Code | Hex Code | Preview |
---|---|---|
rgb(156, 08, 09, 10%) | #9c08091a | |
rgb(156, 08, 09, 20%) | #9c080933 | |
rgb(156, 08, 09, 40%) | #9c08094C | |
rgb(156, 08, 09, 60%) | #9c080999 | |
rgb(156, 08, 09, 80%) | #9c0809CC | |
rgb(156, 08, 09, 100%) | #9c0809FF |
Saturated and desaturated colors of #9c0809
HSL Code | Preview |
---|---|
hsl(360, 10%, 32%) | |
hsl(360, 20%, 32%) | |
hsl(360, 40%, 32%) | |
hsl(360, 60%, 32%) | |
hsl(360, 80%, 32%) | |
hsl(360, 100%, 32%) |
#9c0809 Color Usage In CSS
body { color: #9c0809; } p { color: rgb(156, 08, 09); } header { border-bottom:1px solid #9c0809; }