#c41950 Color
Color Codes | |
---|---|
Hex Code | #c41950 |
RGB Code | rgb(196, 25, 80) |
HSL Code | hsl(341, 77%, 43%) |
#c41950 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(196, 25, 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(341, 77%, 43%); }
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 #c41950
RGB Code | Hex Code | Preview |
---|---|---|
rgb(196, 25, 80, 10%) | #c419501a | |
rgb(196, 25, 80, 20%) | #c4195033 | |
rgb(196, 25, 80, 40%) | #c419504C | |
rgb(196, 25, 80, 60%) | #c4195099 | |
rgb(196, 25, 80, 80%) | #c41950CC | |
rgb(196, 25, 80, 100%) | #c41950FF |
Saturated and desaturated colors of #c41950
HSL Code | Preview |
---|---|
hsl(341, 10%, 43%) | |
hsl(341, 20%, 43%) | |
hsl(341, 40%, 43%) | |
hsl(341, 60%, 43%) | |
hsl(341, 80%, 43%) | |
hsl(341, 100%, 43%) |
#c41950 Color Usage In CSS
body { color: #c41950; } p { color: rgb(196, 25, 80); } header { border-bottom:1px solid #c41950; }