#c17aba Color
Color Codes | |
---|---|
Hex Code | #c17aba |
RGB Code | rgb(193, 122, 186) |
HSL Code | hsl(306, 36%, 62%) |
#c17aba Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(193, 122, 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(306, 36%, 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 #c17aba
RGB Code | Hex Code | Preview |
---|---|---|
rgb(193, 122, 186, 10%) | #c17aba1a | |
rgb(193, 122, 186, 20%) | #c17aba33 | |
rgb(193, 122, 186, 40%) | #c17aba4C | |
rgb(193, 122, 186, 60%) | #c17aba99 | |
rgb(193, 122, 186, 80%) | #c17abaCC | |
rgb(193, 122, 186, 100%) | #c17abaFF |
Saturated and desaturated colors of #c17aba
HSL Code | Preview |
---|---|
hsl(306, 10%, 62%) | |
hsl(306, 20%, 62%) | |
hsl(306, 40%, 62%) | |
hsl(306, 60%, 62%) | |
hsl(306, 80%, 62%) | |
hsl(306, 100%, 62%) |
#c17aba Color Usage In CSS
body { color: #c17aba; } p { color: rgb(193, 122, 186); } header { border-bottom:1px solid #c17aba; }