#dc35ea Color
Color Codes | |
---|---|
Hex Code | #dc35ea |
RGB Code | rgb(220, 53, 234) |
HSL Code | hsl(295, 81%, 56%) |
#dc35ea Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(220, 53, 234); }
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(295, 81%, 56%); }
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 #dc35ea
RGB Code | Hex Code | Preview |
---|---|---|
rgb(220, 53, 234, 10%) | #dc35ea1a | |
rgb(220, 53, 234, 20%) | #dc35ea33 | |
rgb(220, 53, 234, 40%) | #dc35ea4C | |
rgb(220, 53, 234, 60%) | #dc35ea99 | |
rgb(220, 53, 234, 80%) | #dc35eaCC | |
rgb(220, 53, 234, 100%) | #dc35eaFF |
Saturated and desaturated colors of #dc35ea
HSL Code | Preview |
---|---|
hsl(295, 10%, 56%) | |
hsl(295, 20%, 56%) | |
hsl(295, 40%, 56%) | |
hsl(295, 60%, 56%) | |
hsl(295, 80%, 56%) | |
hsl(295, 100%, 56%) |
#dc35ea Color Usage In CSS
body { color: #dc35ea; } p { color: rgb(220, 53, 234); } header { border-bottom:1px solid #dc35ea; }