#c34f61 Color
Color Codes | |
---|---|
Hex Code | #c34f61 |
RGB Code | rgb(195, 79, 97) |
HSL Code | hsl(351, 49%, 54%) |
#c34f61 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(195, 79, 97); }
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(351, 49%, 54%); }
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 #c34f61
RGB Code | Hex Code | Preview |
---|---|---|
rgb(195, 79, 97, 10%) | #c34f611a | |
rgb(195, 79, 97, 20%) | #c34f6133 | |
rgb(195, 79, 97, 40%) | #c34f614C | |
rgb(195, 79, 97, 60%) | #c34f6199 | |
rgb(195, 79, 97, 80%) | #c34f61CC | |
rgb(195, 79, 97, 100%) | #c34f61FF |
Saturated and desaturated colors of #c34f61
HSL Code | Preview |
---|---|
hsl(351, 10%, 54%) | |
hsl(351, 20%, 54%) | |
hsl(351, 40%, 54%) | |
hsl(351, 60%, 54%) | |
hsl(351, 80%, 54%) | |
hsl(351, 100%, 54%) |
#c34f61 Color Usage In CSS
body { color: #c34f61; } p { color: rgb(195, 79, 97); } header { border-bottom:1px solid #c34f61; }