#c064ba Color
Color Codes | |
---|---|
Hex Code | #c064ba |
RGB Code | rgb(192, 100, 186) |
HSL Code | hsl(304, 42%, 57%) |
#c064ba Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(192, 100, 186); }
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(304, 42%, 57%); }
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 #c064ba
RGB Code | Hex Code | Preview |
---|---|---|
rgb(192, 100, 186, 10%) | #c064ba1a | |
rgb(192, 100, 186, 20%) | #c064ba33 | |
rgb(192, 100, 186, 40%) | #c064ba4C | |
rgb(192, 100, 186, 60%) | #c064ba99 | |
rgb(192, 100, 186, 80%) | #c064baCC | |
rgb(192, 100, 186, 100%) | #c064baFF |
Saturated and desaturated colors of #c064ba
HSL Code | Preview |
---|---|
hsl(304, 10%, 57%) | |
hsl(304, 20%, 57%) | |
hsl(304, 40%, 57%) | |
hsl(304, 60%, 57%) | |
hsl(304, 80%, 57%) | |
hsl(304, 100%, 57%) |
#c064ba Color Usage In CSS
body { color: #c064ba; } p { color: rgb(192, 100, 186); } header { border-bottom:1px solid #c064ba; }