#c010bd Color
Color Codes | |
---|---|
Hex Code | #c010bd |
RGB Code | rgb(192, 16, 189) |
HSL Code | hsl(301, 85%, 41%) |
#c010bd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(192, 16, 189); }
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(301, 85%, 41%); }
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 #c010bd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(192, 16, 189, 10%) | #c010bd1a | |
rgb(192, 16, 189, 20%) | #c010bd33 | |
rgb(192, 16, 189, 40%) | #c010bd4C | |
rgb(192, 16, 189, 60%) | #c010bd99 | |
rgb(192, 16, 189, 80%) | #c010bdCC | |
rgb(192, 16, 189, 100%) | #c010bdFF |
Saturated and desaturated colors of #c010bd
HSL Code | Preview |
---|---|
hsl(301, 10%, 41%) | |
hsl(301, 20%, 41%) | |
hsl(301, 40%, 41%) | |
hsl(301, 60%, 41%) | |
hsl(301, 80%, 41%) | |
hsl(301, 100%, 41%) |
#c010bd Color Usage In CSS
body { color: #c010bd; } p { color: rgb(192, 16, 189); } header { border-bottom:1px solid #c010bd; }