#c01b7c Color
Color Codes | |
---|---|
Hex Code | #c01b7c |
RGB Code | rgb(192, 27, 124) |
HSL Code | hsl(325, 75%, 43%) |
#c01b7c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(192, 27, 124); }
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(325, 75%, 43%); }
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 #c01b7c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(192, 27, 124, 10%) | #c01b7c1a | |
rgb(192, 27, 124, 20%) | #c01b7c33 | |
rgb(192, 27, 124, 40%) | #c01b7c4C | |
rgb(192, 27, 124, 60%) | #c01b7c99 | |
rgb(192, 27, 124, 80%) | #c01b7cCC | |
rgb(192, 27, 124, 100%) | #c01b7cFF |
Saturated and desaturated colors of #c01b7c
HSL Code | Preview |
---|---|
hsl(325, 10%, 43%) | |
hsl(325, 20%, 43%) | |
hsl(325, 40%, 43%) | |
hsl(325, 60%, 43%) | |
hsl(325, 80%, 43%) | |
hsl(325, 100%, 43%) |
#c01b7c Color Usage In CSS
body { color: #c01b7c; } p { color: rgb(192, 27, 124); } header { border-bottom:1px solid #c01b7c; }