#c05bfc Color
Color Codes | |
---|---|
Hex Code | #c05bfc |
RGB Code | rgb(192, 91, 252) |
HSL Code | hsl(278, 96%, 67%) |
#c05bfc Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(192, 91, 252); }
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(278, 96%, 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 #c05bfc
RGB Code | Hex Code | Preview |
---|---|---|
rgb(192, 91, 252, 10%) | #c05bfc1a | |
rgb(192, 91, 252, 20%) | #c05bfc33 | |
rgb(192, 91, 252, 40%) | #c05bfc4C | |
rgb(192, 91, 252, 60%) | #c05bfc99 | |
rgb(192, 91, 252, 80%) | #c05bfcCC | |
rgb(192, 91, 252, 100%) | #c05bfcFF |
Saturated and desaturated colors of #c05bfc
HSL Code | Preview |
---|---|
hsl(278, 10%, 67%) | |
hsl(278, 20%, 67%) | |
hsl(278, 40%, 67%) | |
hsl(278, 60%, 67%) | |
hsl(278, 80%, 67%) | |
hsl(278, 100%, 67%) |
#c05bfc Color Usage In CSS
body { color: #c05bfc; } p { color: rgb(192, 91, 252); } header { border-bottom:1px solid #c05bfc; }