#c9395c Color
Color Codes | |
---|---|
Hex Code | #c9395c |
RGB Code | rgb(201, 57, 92) |
HSL Code | hsl(345, 57%, 51%) |
#c9395c Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(201, 57, 92); }
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(345, 57%, 51%); }
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 #c9395c
RGB Code | Hex Code | Preview |
---|---|---|
rgb(201, 57, 92, 10%) | #c9395c1a | |
rgb(201, 57, 92, 20%) | #c9395c33 | |
rgb(201, 57, 92, 40%) | #c9395c4C | |
rgb(201, 57, 92, 60%) | #c9395c99 | |
rgb(201, 57, 92, 80%) | #c9395cCC | |
rgb(201, 57, 92, 100%) | #c9395cFF |
Saturated and desaturated colors of #c9395c
HSL Code | Preview |
---|---|
hsl(345, 10%, 51%) | |
hsl(345, 20%, 51%) | |
hsl(345, 40%, 51%) | |
hsl(345, 60%, 51%) | |
hsl(345, 80%, 51%) | |
hsl(345, 100%, 51%) |
#c9395c Color Usage In CSS
body { color: #c9395c; } p { color: rgb(201, 57, 92); } header { border-bottom:1px solid #c9395c; }