#cb5052 Color
Color Codes | |
---|---|
Hex Code | #cb5052 |
RGB Code | rgb(203, 80, 82) |
HSL Code | hsl(359, 54%, 55%) |
#cb5052 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(203, 80, 82); }
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(359, 54%, 55%); }
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 #cb5052
RGB Code | Hex Code | Preview |
---|---|---|
rgb(203, 80, 82, 10%) | #cb50521a | |
rgb(203, 80, 82, 20%) | #cb505233 | |
rgb(203, 80, 82, 40%) | #cb50524C | |
rgb(203, 80, 82, 60%) | #cb505299 | |
rgb(203, 80, 82, 80%) | #cb5052CC | |
rgb(203, 80, 82, 100%) | #cb5052FF |
Saturated and desaturated colors of #cb5052
HSL Code | Preview |
---|---|
hsl(359, 10%, 55%) | |
hsl(359, 20%, 55%) | |
hsl(359, 40%, 55%) | |
hsl(359, 60%, 55%) | |
hsl(359, 80%, 55%) | |
hsl(359, 100%, 55%) |
#cb5052 Color Usage In CSS
body { color: #cb5052; } p { color: rgb(203, 80, 82); } header { border-bottom:1px solid #cb5052; }