#733c8c Color
Color Codes | |
---|---|
Hex Code | #733c8c |
RGB Code | rgb(115, 60, 140) |
HSL Code | hsl(281, 40%, 39%) |
#733c8c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(115, 60, 140); }
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(281, 40%, 39%); }
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 #733c8c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(115, 60, 140, 10%) | #733c8c1a | |
rgb(115, 60, 140, 20%) | #733c8c33 | |
rgb(115, 60, 140, 40%) | #733c8c4C | |
rgb(115, 60, 140, 60%) | #733c8c99 | |
rgb(115, 60, 140, 80%) | #733c8cCC | |
rgb(115, 60, 140, 100%) | #733c8cFF |
Saturated and desaturated colors of #733c8c
HSL Code | Preview |
---|---|
hsl(281, 10%, 39%) | |
hsl(281, 20%, 39%) | |
hsl(281, 40%, 39%) | |
hsl(281, 60%, 39%) | |
hsl(281, 80%, 39%) | |
hsl(281, 100%, 39%) |
#733c8c Color Usage In CSS
body { color: #733c8c; } p { color: rgb(115, 60, 140); } header { border-bottom:1px solid #733c8c; }