#c146c8 Color
Color Codes | |
---|---|
Hex Code | #c146c8 |
RGB Code | rgb(193, 70, 200) |
HSL Code | hsl(297, 54%, 53%) |
#c146c8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(193, 70, 200); }
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(297, 54%, 53%); }
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 #c146c8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(193, 70, 200, 10%) | #c146c81a | |
rgb(193, 70, 200, 20%) | #c146c833 | |
rgb(193, 70, 200, 40%) | #c146c84C | |
rgb(193, 70, 200, 60%) | #c146c899 | |
rgb(193, 70, 200, 80%) | #c146c8CC | |
rgb(193, 70, 200, 100%) | #c146c8FF |
Saturated and desaturated colors of #c146c8
HSL Code | Preview |
---|---|
hsl(297, 10%, 53%) | |
hsl(297, 20%, 53%) | |
hsl(297, 40%, 53%) | |
hsl(297, 60%, 53%) | |
hsl(297, 80%, 53%) | |
hsl(297, 100%, 53%) |
#c146c8 Color Usage In CSS
body { color: #c146c8; } p { color: rgb(193, 70, 200); } header { border-bottom:1px solid #c146c8; }