#780d22 Color
Color Codes | |
---|---|
Hex Code | #780d22 |
RGB Code | rgb(120, 13, 34) |
HSL Code | hsl(348, 80%, 26%) |
#780d22 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(120, 13, 34); }
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, 80%, 26%); }
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 #780d22
RGB Code | Hex Code | Preview |
---|---|---|
rgb(120, 13, 34, 10%) | #780d221a | |
rgb(120, 13, 34, 20%) | #780d2233 | |
rgb(120, 13, 34, 40%) | #780d224C | |
rgb(120, 13, 34, 60%) | #780d2299 | |
rgb(120, 13, 34, 80%) | #780d22CC | |
rgb(120, 13, 34, 100%) | #780d22FF |
Saturated and desaturated colors of #780d22
HSL Code | Preview |
---|---|
hsl(348, 10%, 26%) | |
hsl(348, 20%, 26%) | |
hsl(348, 40%, 26%) | |
hsl(348, 60%, 26%) | |
hsl(348, 80%, 26%) | |
hsl(348, 100%, 26%) |
#780d22 Color Usage In CSS
body { color: #780d22; } p { color: rgb(120, 13, 34); } header { border-bottom:1px solid #780d22; }