#c91e7f Color
Color Codes | |
---|---|
Hex Code | #c91e7f |
RGB Code | rgb(201, 30, 127) |
HSL Code | hsl(326, 74%, 45%) |
#c91e7f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(201, 30, 127); }
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(326, 74%, 45%); }
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 #c91e7f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(201, 30, 127, 10%) | #c91e7f1a | |
rgb(201, 30, 127, 20%) | #c91e7f33 | |
rgb(201, 30, 127, 40%) | #c91e7f4C | |
rgb(201, 30, 127, 60%) | #c91e7f99 | |
rgb(201, 30, 127, 80%) | #c91e7fCC | |
rgb(201, 30, 127, 100%) | #c91e7fFF |
Saturated and desaturated colors of #c91e7f
HSL Code | Preview |
---|---|
hsl(326, 10%, 45%) | |
hsl(326, 20%, 45%) | |
hsl(326, 40%, 45%) | |
hsl(326, 60%, 45%) | |
hsl(326, 80%, 45%) | |
hsl(326, 100%, 45%) |
#c91e7f Color Usage In CSS
body { color: #c91e7f; } p { color: rgb(201, 30, 127); } header { border-bottom:1px solid #c91e7f; }