#c2539c Color
Color Codes | |
---|---|
Hex Code | #c2539c |
RGB Code | rgb(194, 83, 156) |
HSL Code | hsl(321, 48%, 54%) |
#c2539c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(194, 83, 156); }
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(321, 48%, 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 #c2539c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(194, 83, 156, 10%) | #c2539c1a | |
rgb(194, 83, 156, 20%) | #c2539c33 | |
rgb(194, 83, 156, 40%) | #c2539c4C | |
rgb(194, 83, 156, 60%) | #c2539c99 | |
rgb(194, 83, 156, 80%) | #c2539cCC | |
rgb(194, 83, 156, 100%) | #c2539cFF |
Saturated and desaturated colors of #c2539c
HSL Code | Preview |
---|---|
hsl(321, 10%, 54%) | |
hsl(321, 20%, 54%) | |
hsl(321, 40%, 54%) | |
hsl(321, 60%, 54%) | |
hsl(321, 80%, 54%) | |
hsl(321, 100%, 54%) |
#c2539c Color Usage In CSS
body { color: #c2539c; } p { color: rgb(194, 83, 156); } header { border-bottom:1px solid #c2539c; }