#c74997 Color
Color Codes | |
---|---|
Hex Code | #c74997 |
RGB Code | rgb(199, 73, 151) |
HSL Code | hsl(323, 53%, 53%) |
#c74997 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(199, 73, 151); }
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(323, 53%, 53%); }
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 #c74997
RGB Code | Hex Code | Preview |
---|---|---|
rgb(199, 73, 151, 10%) | #c749971a | |
rgb(199, 73, 151, 20%) | #c7499733 | |
rgb(199, 73, 151, 40%) | #c749974C | |
rgb(199, 73, 151, 60%) | #c7499799 | |
rgb(199, 73, 151, 80%) | #c74997CC | |
rgb(199, 73, 151, 100%) | #c74997FF |
Saturated and desaturated colors of #c74997
HSL Code | Preview |
---|---|
hsl(323, 10%, 53%) | |
hsl(323, 20%, 53%) | |
hsl(323, 40%, 53%) | |
hsl(323, 60%, 53%) | |
hsl(323, 80%, 53%) | |
hsl(323, 100%, 53%) |
#c74997 Color Usage In CSS
body { color: #c74997; } p { color: rgb(199, 73, 151); } header { border-bottom:1px solid #c74997; }