#c21b64 Color
Color Codes | |
---|---|
Hex Code | #c21b64 |
RGB Code | rgb(194, 27, 100) |
HSL Code | hsl(334, 76%, 43%) |
#c21b64 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(194, 27, 100); }
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(334, 76%, 43%); }
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 #c21b64
RGB Code | Hex Code | Preview |
---|---|---|
rgb(194, 27, 100, 10%) | #c21b641a | |
rgb(194, 27, 100, 20%) | #c21b6433 | |
rgb(194, 27, 100, 40%) | #c21b644C | |
rgb(194, 27, 100, 60%) | #c21b6499 | |
rgb(194, 27, 100, 80%) | #c21b64CC | |
rgb(194, 27, 100, 100%) | #c21b64FF |
Saturated and desaturated colors of #c21b64
HSL Code | Preview |
---|---|
hsl(334, 10%, 43%) | |
hsl(334, 20%, 43%) | |
hsl(334, 40%, 43%) | |
hsl(334, 60%, 43%) | |
hsl(334, 80%, 43%) | |
hsl(334, 100%, 43%) |
#c21b64 Color Usage In CSS
body { color: #c21b64; } p { color: rgb(194, 27, 100); } header { border-bottom:1px solid #c21b64; }