#c732e0 Color
Color Codes | |
---|---|
Hex Code | #c732e0 |
RGB Code | rgb(199, 50, 224) |
HSL Code | hsl(291, 74%, 54%) |
#c732e0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(199, 50, 224); }
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(291, 74%, 54%); }
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 #c732e0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(199, 50, 224, 10%) | #c732e01a | |
rgb(199, 50, 224, 20%) | #c732e033 | |
rgb(199, 50, 224, 40%) | #c732e04C | |
rgb(199, 50, 224, 60%) | #c732e099 | |
rgb(199, 50, 224, 80%) | #c732e0CC | |
rgb(199, 50, 224, 100%) | #c732e0FF |
Saturated and desaturated colors of #c732e0
HSL Code | Preview |
---|---|
hsl(291, 10%, 54%) | |
hsl(291, 20%, 54%) | |
hsl(291, 40%, 54%) | |
hsl(291, 60%, 54%) | |
hsl(291, 80%, 54%) | |
hsl(291, 100%, 54%) |
#c732e0 Color Usage In CSS
body { color: #c732e0; } p { color: rgb(199, 50, 224); } header { border-bottom:1px solid #c732e0; }