#cb176f Color
Color Codes | |
---|---|
Hex Code | #cb176f |
RGB Code | rgb(203, 23, 111) |
HSL Code | hsl(331, 80%, 44%) |
#cb176f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(203, 23, 111); }
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(331, 80%, 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 #cb176f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(203, 23, 111, 10%) | #cb176f1a | |
rgb(203, 23, 111, 20%) | #cb176f33 | |
rgb(203, 23, 111, 40%) | #cb176f4C | |
rgb(203, 23, 111, 60%) | #cb176f99 | |
rgb(203, 23, 111, 80%) | #cb176fCC | |
rgb(203, 23, 111, 100%) | #cb176fFF |
Saturated and desaturated colors of #cb176f
HSL Code | Preview |
---|---|
hsl(331, 10%, 44%) | |
hsl(331, 20%, 44%) | |
hsl(331, 40%, 44%) | |
hsl(331, 60%, 44%) | |
hsl(331, 80%, 44%) | |
hsl(331, 100%, 44%) |
#cb176f Color Usage In CSS
body { color: #cb176f; } p { color: rgb(203, 23, 111); } header { border-bottom:1px solid #cb176f; }