#c322e5 Color
Color Codes | |
---|---|
Hex Code | #c322e5 |
RGB Code | rgb(195, 34, 229) |
HSL Code | hsl(290, 79%, 52%) |
#c322e5 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(195, 34, 229); }
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(290, 79%, 52%); }
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 #c322e5
RGB Code | Hex Code | Preview |
---|---|---|
rgb(195, 34, 229, 10%) | #c322e51a | |
rgb(195, 34, 229, 20%) | #c322e533 | |
rgb(195, 34, 229, 40%) | #c322e54C | |
rgb(195, 34, 229, 60%) | #c322e599 | |
rgb(195, 34, 229, 80%) | #c322e5CC | |
rgb(195, 34, 229, 100%) | #c322e5FF |
Saturated and desaturated colors of #c322e5
HSL Code | Preview |
---|---|
hsl(290, 10%, 52%) | |
hsl(290, 20%, 52%) | |
hsl(290, 40%, 52%) | |
hsl(290, 60%, 52%) | |
hsl(290, 80%, 52%) | |
hsl(290, 100%, 52%) |
#c322e5 Color Usage In CSS
body { color: #c322e5; } p { color: rgb(195, 34, 229); } header { border-bottom:1px solid #c322e5; }