#711b5f Color
Color Codes | |
---|---|
Hex Code | #711b5f |
RGB Code | rgb(113, 27, 95) |
HSL Code | hsl(313, 61%, 27%) |
#711b5f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(113, 27, 95); }
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(313, 61%, 27%); }
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 #711b5f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(113, 27, 95, 10%) | #711b5f1a | |
rgb(113, 27, 95, 20%) | #711b5f33 | |
rgb(113, 27, 95, 40%) | #711b5f4C | |
rgb(113, 27, 95, 60%) | #711b5f99 | |
rgb(113, 27, 95, 80%) | #711b5fCC | |
rgb(113, 27, 95, 100%) | #711b5fFF |
Saturated and desaturated colors of #711b5f
HSL Code | Preview |
---|---|
hsl(313, 10%, 27%) | |
hsl(313, 20%, 27%) | |
hsl(313, 40%, 27%) | |
hsl(313, 60%, 27%) | |
hsl(313, 80%, 27%) | |
hsl(313, 100%, 27%) |
#711b5f Color Usage In CSS
body { color: #711b5f; } p { color: rgb(113, 27, 95); } header { border-bottom:1px solid #711b5f; }