#741a5c Color
Color Codes | |
---|---|
Hex Code | #741a5c |
RGB Code | rgb(116, 26, 92) |
HSL Code | hsl(316, 63%, 28%) |
#741a5c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(116, 26, 92); }
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(316, 63%, 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 #741a5c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(116, 26, 92, 10%) | #741a5c1a | |
rgb(116, 26, 92, 20%) | #741a5c33 | |
rgb(116, 26, 92, 40%) | #741a5c4C | |
rgb(116, 26, 92, 60%) | #741a5c99 | |
rgb(116, 26, 92, 80%) | #741a5cCC | |
rgb(116, 26, 92, 100%) | #741a5cFF |
Saturated and desaturated colors of #741a5c
HSL Code | Preview |
---|---|
hsl(316, 10%, 28%) | |
hsl(316, 20%, 28%) | |
hsl(316, 40%, 28%) | |
hsl(316, 60%, 28%) | |
hsl(316, 80%, 28%) | |
hsl(316, 100%, 28%) |
#741a5c Color Usage In CSS
body { color: #741a5c; } p { color: rgb(116, 26, 92); } header { border-bottom:1px solid #741a5c; }