#c80b50 Color
Color Codes | |
---|---|
Hex Code | #c80b50 |
RGB Code | rgb(200, 11, 80) |
HSL Code | hsl(338, 90%, 41%) |
#c80b50 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(200, 11, 80); }
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(338, 90%, 41%); }
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 #c80b50
RGB Code | Hex Code | Preview |
---|---|---|
rgb(200, 11, 80, 10%) | #c80b501a | |
rgb(200, 11, 80, 20%) | #c80b5033 | |
rgb(200, 11, 80, 40%) | #c80b504C | |
rgb(200, 11, 80, 60%) | #c80b5099 | |
rgb(200, 11, 80, 80%) | #c80b50CC | |
rgb(200, 11, 80, 100%) | #c80b50FF |
Saturated and desaturated colors of #c80b50
HSL Code | Preview |
---|---|
hsl(338, 10%, 41%) | |
hsl(338, 20%, 41%) | |
hsl(338, 40%, 41%) | |
hsl(338, 60%, 41%) | |
hsl(338, 80%, 41%) | |
hsl(338, 100%, 41%) |
#c80b50 Color Usage In CSS
body { color: #c80b50; } p { color: rgb(200, 11, 80); } header { border-bottom:1px solid #c80b50; }