#7a072e Color
Color Codes | |
---|---|
Hex Code | #7a072e |
RGB Code | rgb(122, 07, 46) |
HSL Code | hsl(340, 89%, 25%) |
#7a072e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(122, 07, 46); }
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(340, 89%, 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 #7a072e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(122, 07, 46, 10%) | #7a072e1a | |
rgb(122, 07, 46, 20%) | #7a072e33 | |
rgb(122, 07, 46, 40%) | #7a072e4C | |
rgb(122, 07, 46, 60%) | #7a072e99 | |
rgb(122, 07, 46, 80%) | #7a072eCC | |
rgb(122, 07, 46, 100%) | #7a072eFF |
Saturated and desaturated colors of #7a072e
HSL Code | Preview |
---|---|
hsl(340, 10%, 25%) | |
hsl(340, 20%, 25%) | |
hsl(340, 40%, 25%) | |
hsl(340, 60%, 25%) | |
hsl(340, 80%, 25%) | |
hsl(340, 100%, 25%) |
#7a072e Color Usage In CSS
body { color: #7a072e; } p { color: rgb(122, 07, 46); } header { border-bottom:1px solid #7a072e; }