#c826fa Color
Color Codes | |
---|---|
Hex Code | #c826fa |
RGB Code | rgb(200, 38, 250) |
HSL Code | hsl(286, 95%, 56%) |
#c826fa Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(200, 38, 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(286, 95%, 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 #c826fa
RGB Code | Hex Code | Preview |
---|---|---|
rgb(200, 38, 250, 10%) | #c826fa1a | |
rgb(200, 38, 250, 20%) | #c826fa33 | |
rgb(200, 38, 250, 40%) | #c826fa4C | |
rgb(200, 38, 250, 60%) | #c826fa99 | |
rgb(200, 38, 250, 80%) | #c826faCC | |
rgb(200, 38, 250, 100%) | #c826faFF |
Saturated and desaturated colors of #c826fa
HSL Code | Preview |
---|---|
hsl(286, 10%, 56%) | |
hsl(286, 20%, 56%) | |
hsl(286, 40%, 56%) | |
hsl(286, 60%, 56%) | |
hsl(286, 80%, 56%) | |
hsl(286, 100%, 56%) |
#c826fa Color Usage In CSS
body { color: #c826fa; } p { color: rgb(200, 38, 250); } header { border-bottom:1px solid #c826fa; }