#cb6572 Color
Color Codes | |
---|---|
Hex Code | #cb6572 |
RGB Code | rgb(203, 101, 114) |
HSL Code | hsl(352, 50%, 60%) |
#cb6572 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(203, 101, 114); }
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(352, 50%, 60%); }
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 #cb6572
RGB Code | Hex Code | Preview |
---|---|---|
rgb(203, 101, 114, 10%) | #cb65721a | |
rgb(203, 101, 114, 20%) | #cb657233 | |
rgb(203, 101, 114, 40%) | #cb65724C | |
rgb(203, 101, 114, 60%) | #cb657299 | |
rgb(203, 101, 114, 80%) | #cb6572CC | |
rgb(203, 101, 114, 100%) | #cb6572FF |
Saturated and desaturated colors of #cb6572
HSL Code | Preview |
---|---|
hsl(352, 10%, 60%) | |
hsl(352, 20%, 60%) | |
hsl(352, 40%, 60%) | |
hsl(352, 60%, 60%) | |
hsl(352, 80%, 60%) | |
hsl(352, 100%, 60%) |
#cb6572 Color Usage In CSS
body { color: #cb6572; } p { color: rgb(203, 101, 114); } header { border-bottom:1px solid #cb6572; }