#c0066a Color
Color Codes | |
---|---|
Hex Code | #c0066a |
RGB Code | rgb(192, 06, 106) |
HSL Code | hsl(328, 94%, 39%) |
#c0066a Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(192, 06, 106); }
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(328, 94%, 39%); }
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 #c0066a
RGB Code | Hex Code | Preview |
---|---|---|
rgb(192, 06, 106, 10%) | #c0066a1a | |
rgb(192, 06, 106, 20%) | #c0066a33 | |
rgb(192, 06, 106, 40%) | #c0066a4C | |
rgb(192, 06, 106, 60%) | #c0066a99 | |
rgb(192, 06, 106, 80%) | #c0066aCC | |
rgb(192, 06, 106, 100%) | #c0066aFF |
Saturated and desaturated colors of #c0066a
HSL Code | Preview |
---|---|
hsl(328, 10%, 39%) | |
hsl(328, 20%, 39%) | |
hsl(328, 40%, 39%) | |
hsl(328, 60%, 39%) | |
hsl(328, 80%, 39%) | |
hsl(328, 100%, 39%) |
#c0066a Color Usage In CSS
body { color: #c0066a; } p { color: rgb(192, 06, 106); } header { border-bottom:1px solid #c0066a; }