#c617df Color
Color Codes | |
---|---|
Hex Code | #c617df |
RGB Code | rgb(198, 23, 223) |
HSL Code | hsl(293, 81%, 48%) |
#c617df Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(198, 23, 223); }
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(293, 81%, 48%); }
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 #c617df
RGB Code | Hex Code | Preview |
---|---|---|
rgb(198, 23, 223, 10%) | #c617df1a | |
rgb(198, 23, 223, 20%) | #c617df33 | |
rgb(198, 23, 223, 40%) | #c617df4C | |
rgb(198, 23, 223, 60%) | #c617df99 | |
rgb(198, 23, 223, 80%) | #c617dfCC | |
rgb(198, 23, 223, 100%) | #c617dfFF |
Saturated and desaturated colors of #c617df
HSL Code | Preview |
---|---|
hsl(293, 10%, 48%) | |
hsl(293, 20%, 48%) | |
hsl(293, 40%, 48%) | |
hsl(293, 60%, 48%) | |
hsl(293, 80%, 48%) | |
hsl(293, 100%, 48%) |
#c617df Color Usage In CSS
body { color: #c617df; } p { color: rgb(198, 23, 223); } header { border-bottom:1px solid #c617df; }