#c64792 Color
Color Codes | |
---|---|
Hex Code | #c64792 |
RGB Code | rgb(198, 71, 146) |
HSL Code | hsl(325, 53%, 53%) |
#c64792 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(198, 71, 146); }
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, 53%, 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 #c64792
RGB Code | Hex Code | Preview |
---|---|---|
rgb(198, 71, 146, 10%) | #c647921a | |
rgb(198, 71, 146, 20%) | #c6479233 | |
rgb(198, 71, 146, 40%) | #c647924C | |
rgb(198, 71, 146, 60%) | #c6479299 | |
rgb(198, 71, 146, 80%) | #c64792CC | |
rgb(198, 71, 146, 100%) | #c64792FF |
Saturated and desaturated colors of #c64792
HSL Code | Preview |
---|---|
hsl(325, 10%, 53%) | |
hsl(325, 20%, 53%) | |
hsl(325, 40%, 53%) | |
hsl(325, 60%, 53%) | |
hsl(325, 80%, 53%) | |
hsl(325, 100%, 53%) |
#c64792 Color Usage In CSS
body { color: #c64792; } p { color: rgb(198, 71, 146); } header { border-bottom:1px solid #c64792; }