#c6449f Color
Color Codes | |
---|---|
Hex Code | #c6449f |
RGB Code | rgb(198, 68, 159) |
HSL Code | hsl(318, 53%, 52%) |
#c6449f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(198, 68, 159); }
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, 53%, 52%); }
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 #c6449f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(198, 68, 159, 10%) | #c6449f1a | |
rgb(198, 68, 159, 20%) | #c6449f33 | |
rgb(198, 68, 159, 40%) | #c6449f4C | |
rgb(198, 68, 159, 60%) | #c6449f99 | |
rgb(198, 68, 159, 80%) | #c6449fCC | |
rgb(198, 68, 159, 100%) | #c6449fFF |
Saturated and desaturated colors of #c6449f
HSL Code | Preview |
---|---|
hsl(318, 10%, 52%) | |
hsl(318, 20%, 52%) | |
hsl(318, 40%, 52%) | |
hsl(318, 60%, 52%) | |
hsl(318, 80%, 52%) | |
hsl(318, 100%, 52%) |
#c6449f Color Usage In CSS
body { color: #c6449f; } p { color: rgb(198, 68, 159); } header { border-bottom:1px solid #c6449f; }