#c93954 Color
Color Codes | |
---|---|
Hex Code | #c93954 |
RGB Code | rgb(201, 57, 84) |
HSL Code | hsl(349, 57%, 51%) |
#c93954 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(201, 57, 84); }
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(349, 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 #c93954
RGB Code | Hex Code | Preview |
---|---|---|
rgb(201, 57, 84, 10%) | #c939541a | |
rgb(201, 57, 84, 20%) | #c9395433 | |
rgb(201, 57, 84, 40%) | #c939544C | |
rgb(201, 57, 84, 60%) | #c9395499 | |
rgb(201, 57, 84, 80%) | #c93954CC | |
rgb(201, 57, 84, 100%) | #c93954FF |
Saturated and desaturated colors of #c93954
HSL Code | Preview |
---|---|
hsl(349, 10%, 51%) | |
hsl(349, 20%, 51%) | |
hsl(349, 40%, 51%) | |
hsl(349, 60%, 51%) | |
hsl(349, 80%, 51%) | |
hsl(349, 100%, 51%) |
#c93954 Color Usage In CSS
body { color: #c93954; } p { color: rgb(201, 57, 84); } header { border-bottom:1px solid #c93954; }