#fc2e59 Color
Color Codes | |
---|---|
Hex Code | #fc2e59 |
RGB Code | rgb(252, 46, 89) |
HSL Code | hsl(347, 97%, 58%) |
#fc2e59 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(252, 46, 89); }
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(347, 97%, 58%); }
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 #fc2e59
RGB Code | Hex Code | Preview |
---|---|---|
rgb(252, 46, 89, 10%) | #fc2e591a | |
rgb(252, 46, 89, 20%) | #fc2e5933 | |
rgb(252, 46, 89, 40%) | #fc2e594C | |
rgb(252, 46, 89, 60%) | #fc2e5999 | |
rgb(252, 46, 89, 80%) | #fc2e59CC | |
rgb(252, 46, 89, 100%) | #fc2e59FF |
Saturated and desaturated colors of #fc2e59
HSL Code | Preview |
---|---|
hsl(347, 10%, 58%) | |
hsl(347, 20%, 58%) | |
hsl(347, 40%, 58%) | |
hsl(347, 60%, 58%) | |
hsl(347, 80%, 58%) | |
hsl(347, 100%, 58%) |
#fc2e59 Color Usage In CSS
body { color: #fc2e59; } p { color: rgb(252, 46, 89); } header { border-bottom:1px solid #fc2e59; }