#7f1833 Color
Color Codes | |
---|---|
Hex Code | #7f1833 |
RGB Code | rgb(127, 24, 51) |
HSL Code | hsl(344, 68%, 30%) |
#7f1833 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(127, 24, 51); }
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(344, 68%, 30%); }
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 #7f1833
RGB Code | Hex Code | Preview |
---|---|---|
rgb(127, 24, 51, 10%) | #7f18331a | |
rgb(127, 24, 51, 20%) | #7f183333 | |
rgb(127, 24, 51, 40%) | #7f18334C | |
rgb(127, 24, 51, 60%) | #7f183399 | |
rgb(127, 24, 51, 80%) | #7f1833CC | |
rgb(127, 24, 51, 100%) | #7f1833FF |
Saturated and desaturated colors of #7f1833
HSL Code | Preview |
---|---|
hsl(344, 10%, 30%) | |
hsl(344, 20%, 30%) | |
hsl(344, 40%, 30%) | |
hsl(344, 60%, 30%) | |
hsl(344, 80%, 30%) | |
hsl(344, 100%, 30%) |
#7f1833 Color Usage In CSS
body { color: #7f1833; } p { color: rgb(127, 24, 51); } header { border-bottom:1px solid #7f1833; }