#c4427a Color
Color Codes | |
---|---|
Hex Code | #c4427a |
RGB Code | rgb(196, 66, 122) |
HSL Code | hsl(334, 52%, 51%) |
#c4427a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(196, 66, 122); }
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, 52%, 51%); }
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 #c4427a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(196, 66, 122, 10%) | #c4427a1a | |
rgb(196, 66, 122, 20%) | #c4427a33 | |
rgb(196, 66, 122, 40%) | #c4427a4C | |
rgb(196, 66, 122, 60%) | #c4427a99 | |
rgb(196, 66, 122, 80%) | #c4427aCC | |
rgb(196, 66, 122, 100%) | #c4427aFF |
Saturated and desaturated colors of #c4427a
HSL Code | Preview |
---|---|
hsl(334, 10%, 51%) | |
hsl(334, 20%, 51%) | |
hsl(334, 40%, 51%) | |
hsl(334, 60%, 51%) | |
hsl(334, 80%, 51%) | |
hsl(334, 100%, 51%) |
#c4427a Color Usage In CSS
body { color: #c4427a; } p { color: rgb(196, 66, 122); } header { border-bottom:1px solid #c4427a; }