#7f193e Color
Color Codes | |
---|---|
Hex Code | #7f193e |
RGB Code | rgb(127, 25, 62) |
HSL Code | hsl(338, 67%, 30%) |
#7f193e Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(127, 25, 62); }
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(338, 67%, 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 #7f193e
RGB Code | Hex Code | Preview |
---|---|---|
rgb(127, 25, 62, 10%) | #7f193e1a | |
rgb(127, 25, 62, 20%) | #7f193e33 | |
rgb(127, 25, 62, 40%) | #7f193e4C | |
rgb(127, 25, 62, 60%) | #7f193e99 | |
rgb(127, 25, 62, 80%) | #7f193eCC | |
rgb(127, 25, 62, 100%) | #7f193eFF |
Saturated and desaturated colors of #7f193e
HSL Code | Preview |
---|---|
hsl(338, 10%, 30%) | |
hsl(338, 20%, 30%) | |
hsl(338, 40%, 30%) | |
hsl(338, 60%, 30%) | |
hsl(338, 80%, 30%) | |
hsl(338, 100%, 30%) |
#7f193e Color Usage In CSS
body { color: #7f193e; } p { color: rgb(127, 25, 62); } header { border-bottom:1px solid #7f193e; }