#c35cfa Color
Color Codes | |
---|---|
Hex Code | #c35cfa |
RGB Code | rgb(195, 92, 250) |
HSL Code | hsl(279, 94%, 67%) |
#c35cfa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(195, 92, 250); }
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(279, 94%, 67%); }
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 #c35cfa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(195, 92, 250, 10%) | #c35cfa1a | |
rgb(195, 92, 250, 20%) | #c35cfa33 | |
rgb(195, 92, 250, 40%) | #c35cfa4C | |
rgb(195, 92, 250, 60%) | #c35cfa99 | |
rgb(195, 92, 250, 80%) | #c35cfaCC | |
rgb(195, 92, 250, 100%) | #c35cfaFF |
Saturated and desaturated colors of #c35cfa
HSL Code | Preview |
---|---|
hsl(279, 10%, 67%) | |
hsl(279, 20%, 67%) | |
hsl(279, 40%, 67%) | |
hsl(279, 60%, 67%) | |
hsl(279, 80%, 67%) | |
hsl(279, 100%, 67%) |
#c35cfa Color Usage In CSS
body { color: #c35cfa; } p { color: rgb(195, 92, 250); } header { border-bottom:1px solid #c35cfa; }