#c17ac3 Color
Color Codes | |
---|---|
Hex Code | #c17ac3 |
RGB Code | rgb(193, 122, 195) |
HSL Code | hsl(298, 38%, 62%) |
#c17ac3 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(193, 122, 195); }
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(298, 38%, 62%); }
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 #c17ac3
RGB Code | Hex Code | Preview |
---|---|---|
rgb(193, 122, 195, 10%) | #c17ac31a | |
rgb(193, 122, 195, 20%) | #c17ac333 | |
rgb(193, 122, 195, 40%) | #c17ac34C | |
rgb(193, 122, 195, 60%) | #c17ac399 | |
rgb(193, 122, 195, 80%) | #c17ac3CC | |
rgb(193, 122, 195, 100%) | #c17ac3FF |
Saturated and desaturated colors of #c17ac3
HSL Code | Preview |
---|---|
hsl(298, 10%, 62%) | |
hsl(298, 20%, 62%) | |
hsl(298, 40%, 62%) | |
hsl(298, 60%, 62%) | |
hsl(298, 80%, 62%) | |
hsl(298, 100%, 62%) |
#c17ac3 Color Usage In CSS
body { color: #c17ac3; } p { color: rgb(193, 122, 195); } header { border-bottom:1px solid #c17ac3; }