#fe4c72 Color
Color Codes | |
---|---|
Hex Code | #fe4c72 |
RGB Code | rgb(254, 76, 114) |
HSL Code | hsl(347, 99%, 65%) |
#fe4c72 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(254, 76, 114); }
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, 99%, 65%); }
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 #fe4c72
RGB Code | Hex Code | Preview |
---|---|---|
rgb(254, 76, 114, 10%) | #fe4c721a | |
rgb(254, 76, 114, 20%) | #fe4c7233 | |
rgb(254, 76, 114, 40%) | #fe4c724C | |
rgb(254, 76, 114, 60%) | #fe4c7299 | |
rgb(254, 76, 114, 80%) | #fe4c72CC | |
rgb(254, 76, 114, 100%) | #fe4c72FF |
Saturated and desaturated colors of #fe4c72
HSL Code | Preview |
---|---|
hsl(347, 10%, 65%) | |
hsl(347, 20%, 65%) | |
hsl(347, 40%, 65%) | |
hsl(347, 60%, 65%) | |
hsl(347, 80%, 65%) | |
hsl(347, 100%, 65%) |
#fe4c72 Color Usage In CSS
body { color: #fe4c72; } p { color: rgb(254, 76, 114); } header { border-bottom:1px solid #fe4c72; }