#c71a85 Color
Color Codes | |
---|---|
Hex Code | #c71a85 |
RGB Code | rgb(199, 26, 133) |
HSL Code | hsl(323, 77%, 44%) |
#c71a85 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(199, 26, 133); }
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(323, 77%, 44%); }
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 #c71a85
RGB Code | Hex Code | Preview |
---|---|---|
rgb(199, 26, 133, 10%) | #c71a851a | |
rgb(199, 26, 133, 20%) | #c71a8533 | |
rgb(199, 26, 133, 40%) | #c71a854C | |
rgb(199, 26, 133, 60%) | #c71a8599 | |
rgb(199, 26, 133, 80%) | #c71a85CC | |
rgb(199, 26, 133, 100%) | #c71a85FF |
Saturated and desaturated colors of #c71a85
HSL Code | Preview |
---|---|
hsl(323, 10%, 44%) | |
hsl(323, 20%, 44%) | |
hsl(323, 40%, 44%) | |
hsl(323, 60%, 44%) | |
hsl(323, 80%, 44%) | |
hsl(323, 100%, 44%) |
#c71a85 Color Usage In CSS
body { color: #c71a85; } p { color: rgb(199, 26, 133); } header { border-bottom:1px solid #c71a85; }