#c27998 Color
Color Codes | |
---|---|
Hex Code | #c27998 |
RGB Code | rgb(194, 121, 152) |
HSL Code | hsl(335, 37%, 62%) |
#c27998 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(194, 121, 152); }
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(335, 37%, 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 #c27998
RGB Code | Hex Code | Preview |
---|---|---|
rgb(194, 121, 152, 10%) | #c279981a | |
rgb(194, 121, 152, 20%) | #c2799833 | |
rgb(194, 121, 152, 40%) | #c279984C | |
rgb(194, 121, 152, 60%) | #c2799899 | |
rgb(194, 121, 152, 80%) | #c27998CC | |
rgb(194, 121, 152, 100%) | #c27998FF |
Saturated and desaturated colors of #c27998
HSL Code | Preview |
---|---|
hsl(335, 10%, 62%) | |
hsl(335, 20%, 62%) | |
hsl(335, 40%, 62%) | |
hsl(335, 60%, 62%) | |
hsl(335, 80%, 62%) | |
hsl(335, 100%, 62%) |
#c27998 Color Usage In CSS
body { color: #c27998; } p { color: rgb(194, 121, 152); } header { border-bottom:1px solid #c27998; }