#cb5e80 Color
Color Codes | |
---|---|
Hex Code | #cb5e80 |
RGB Code | rgb(203, 94, 128) |
HSL Code | hsl(341, 51%, 58%) |
#cb5e80 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(203, 94, 128); }
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(341, 51%, 58%); }
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 #cb5e80
RGB Code | Hex Code | Preview |
---|---|---|
rgb(203, 94, 128, 10%) | #cb5e801a | |
rgb(203, 94, 128, 20%) | #cb5e8033 | |
rgb(203, 94, 128, 40%) | #cb5e804C | |
rgb(203, 94, 128, 60%) | #cb5e8099 | |
rgb(203, 94, 128, 80%) | #cb5e80CC | |
rgb(203, 94, 128, 100%) | #cb5e80FF |
Saturated and desaturated colors of #cb5e80
HSL Code | Preview |
---|---|
hsl(341, 10%, 58%) | |
hsl(341, 20%, 58%) | |
hsl(341, 40%, 58%) | |
hsl(341, 60%, 58%) | |
hsl(341, 80%, 58%) | |
hsl(341, 100%, 58%) |
#cb5e80 Color Usage In CSS
body { color: #cb5e80; } p { color: rgb(203, 94, 128); } header { border-bottom:1px solid #cb5e80; }