#c94781 Color
Color Codes | |
---|---|
Hex Code | #c94781 |
RGB Code | rgb(201, 71, 129) |
HSL Code | hsl(333, 55%, 53%) |
#c94781 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(201, 71, 129); }
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(333, 55%, 53%); }
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 #c94781
RGB Code | Hex Code | Preview |
---|---|---|
rgb(201, 71, 129, 10%) | #c947811a | |
rgb(201, 71, 129, 20%) | #c9478133 | |
rgb(201, 71, 129, 40%) | #c947814C | |
rgb(201, 71, 129, 60%) | #c9478199 | |
rgb(201, 71, 129, 80%) | #c94781CC | |
rgb(201, 71, 129, 100%) | #c94781FF |
Saturated and desaturated colors of #c94781
HSL Code | Preview |
---|---|
hsl(333, 10%, 53%) | |
hsl(333, 20%, 53%) | |
hsl(333, 40%, 53%) | |
hsl(333, 60%, 53%) | |
hsl(333, 80%, 53%) | |
hsl(333, 100%, 53%) |
#c94781 Color Usage In CSS
body { color: #c94781; } p { color: rgb(201, 71, 129); } header { border-bottom:1px solid #c94781; }