#c0439a Color
Color Codes | |
---|---|
Hex Code | #c0439a |
RGB Code | rgb(192, 67, 154) |
HSL Code | hsl(318, 50%, 51%) |
#c0439a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(192, 67, 154); }
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(318, 50%, 51%); }
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 #c0439a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(192, 67, 154, 10%) | #c0439a1a | |
rgb(192, 67, 154, 20%) | #c0439a33 | |
rgb(192, 67, 154, 40%) | #c0439a4C | |
rgb(192, 67, 154, 60%) | #c0439a99 | |
rgb(192, 67, 154, 80%) | #c0439aCC | |
rgb(192, 67, 154, 100%) | #c0439aFF |
Saturated and desaturated colors of #c0439a
HSL Code | Preview |
---|---|
hsl(318, 10%, 51%) | |
hsl(318, 20%, 51%) | |
hsl(318, 40%, 51%) | |
hsl(318, 60%, 51%) | |
hsl(318, 80%, 51%) | |
hsl(318, 100%, 51%) |
#c0439a Color Usage In CSS
body { color: #c0439a; } p { color: rgb(192, 67, 154); } header { border-bottom:1px solid #c0439a; }