#7b1543 Color
Color Codes | |
---|---|
Hex Code | #7b1543 |
RGB Code | rgb(123, 21, 67) |
HSL Code | hsl(333, 71%, 28%) |
#7b1543 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(123, 21, 67); }
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(333, 71%, 28%); }
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 #7b1543
RGB Code | Hex Code | Preview |
---|---|---|
rgb(123, 21, 67, 10%) | #7b15431a | |
rgb(123, 21, 67, 20%) | #7b154333 | |
rgb(123, 21, 67, 40%) | #7b15434C | |
rgb(123, 21, 67, 60%) | #7b154399 | |
rgb(123, 21, 67, 80%) | #7b1543CC | |
rgb(123, 21, 67, 100%) | #7b1543FF |
Saturated and desaturated colors of #7b1543
HSL Code | Preview |
---|---|
hsl(333, 10%, 28%) | |
hsl(333, 20%, 28%) | |
hsl(333, 40%, 28%) | |
hsl(333, 60%, 28%) | |
hsl(333, 80%, 28%) | |
hsl(333, 100%, 28%) |
#7b1543 Color Usage In CSS
body { color: #7b1543; } p { color: rgb(123, 21, 67); } header { border-bottom:1px solid #7b1543; }