#c70775 Color
Color Codes | |
---|---|
Hex Code | #c70775 |
RGB Code | rgb(199, 07, 117) |
HSL Code | hsl(326, 93%, 40%) |
#c70775 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(199, 07, 117); }
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, 93%, 40%); }
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 #c70775
RGB Code | Hex Code | Preview |
---|---|---|
rgb(199, 07, 117, 10%) | #c707751a | |
rgb(199, 07, 117, 20%) | #c7077533 | |
rgb(199, 07, 117, 40%) | #c707754C | |
rgb(199, 07, 117, 60%) | #c7077599 | |
rgb(199, 07, 117, 80%) | #c70775CC | |
rgb(199, 07, 117, 100%) | #c70775FF |
Saturated and desaturated colors of #c70775
HSL Code | Preview |
---|---|
hsl(326, 10%, 40%) | |
hsl(326, 20%, 40%) | |
hsl(326, 40%, 40%) | |
hsl(326, 60%, 40%) | |
hsl(326, 80%, 40%) | |
hsl(326, 100%, 40%) |
#c70775 Color Usage In CSS
body { color: #c70775; } p { color: rgb(199, 07, 117); } header { border-bottom:1px solid #c70775; }