#792c2a Color
Color Codes | |
---|---|
Hex Code | #792c2a |
RGB Code | rgb(121, 44, 42) |
HSL Code | hsl(2, 48%, 32%) |
#792c2a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(121, 44, 42); }
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(2, 48%, 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 #792c2a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(121, 44, 42, 10%) | #792c2a1a | |
rgb(121, 44, 42, 20%) | #792c2a33 | |
rgb(121, 44, 42, 40%) | #792c2a4C | |
rgb(121, 44, 42, 60%) | #792c2a99 | |
rgb(121, 44, 42, 80%) | #792c2aCC | |
rgb(121, 44, 42, 100%) | #792c2aFF |
Saturated and desaturated colors of #792c2a
HSL Code | Preview |
---|---|
hsl(2, 10%, 32%) | |
hsl(2, 20%, 32%) | |
hsl(2, 40%, 32%) | |
hsl(2, 60%, 32%) | |
hsl(2, 80%, 32%) | |
hsl(2, 100%, 32%) |
#792c2a Color Usage In CSS
body { color: #792c2a; } p { color: rgb(121, 44, 42); } header { border-bottom:1px solid #792c2a; }