#ff4cac Color
Color Codes | |
---|---|
Hex Code | #ff4cac |
RGB Code | rgb(255, 76, 172) |
HSL Code | hsl(328, 100%, 65%) |
#ff4cac Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(255, 76, 172); }
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(328, 100%, 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 #ff4cac
RGB Code | Hex Code | Preview |
---|---|---|
rgb(255, 76, 172, 10%) | #ff4cac1a | |
rgb(255, 76, 172, 20%) | #ff4cac33 | |
rgb(255, 76, 172, 40%) | #ff4cac4C | |
rgb(255, 76, 172, 60%) | #ff4cac99 | |
rgb(255, 76, 172, 80%) | #ff4cacCC | |
rgb(255, 76, 172, 100%) | #ff4cacFF |
Saturated and desaturated colors of #ff4cac
HSL Code | Preview |
---|---|
hsl(328, 10%, 65%) | |
hsl(328, 20%, 65%) | |
hsl(328, 40%, 65%) | |
hsl(328, 60%, 65%) | |
hsl(328, 80%, 65%) | |
hsl(328, 100%, 65%) |
#ff4cac Color Usage In CSS
body { color: #ff4cac; } p { color: rgb(255, 76, 172); } header { border-bottom:1px solid #ff4cac; }