#8b125d Color
Color Codes | |
---|---|
Hex Code | #8b125d |
RGB Code | rgb(139, 18, 93) |
HSL Code | hsl(323, 77%, 31%) |
#8b125d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(139, 18, 93); }
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(323, 77%, 31%); }
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 #8b125d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(139, 18, 93, 10%) | #8b125d1a | |
rgb(139, 18, 93, 20%) | #8b125d33 | |
rgb(139, 18, 93, 40%) | #8b125d4C | |
rgb(139, 18, 93, 60%) | #8b125d99 | |
rgb(139, 18, 93, 80%) | #8b125dCC | |
rgb(139, 18, 93, 100%) | #8b125dFF |
Saturated and desaturated colors of #8b125d
HSL Code | Preview |
---|---|
hsl(323, 10%, 31%) | |
hsl(323, 20%, 31%) | |
hsl(323, 40%, 31%) | |
hsl(323, 60%, 31%) | |
hsl(323, 80%, 31%) | |
hsl(323, 100%, 31%) |
#8b125d Color Usage In CSS
body { color: #8b125d; } p { color: rgb(139, 18, 93); } header { border-bottom:1px solid #8b125d; }