#c41eac Color
Color Codes | |
---|---|
Hex Code | #c41eac |
RGB Code | rgb(196, 30, 172) |
HSL Code | hsl(309, 73%, 44%) |
#c41eac Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(196, 30, 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(309, 73%, 44%); }
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 #c41eac
RGB Code | Hex Code | Preview |
---|---|---|
rgb(196, 30, 172, 10%) | #c41eac1a | |
rgb(196, 30, 172, 20%) | #c41eac33 | |
rgb(196, 30, 172, 40%) | #c41eac4C | |
rgb(196, 30, 172, 60%) | #c41eac99 | |
rgb(196, 30, 172, 80%) | #c41eacCC | |
rgb(196, 30, 172, 100%) | #c41eacFF |
Saturated and desaturated colors of #c41eac
HSL Code | Preview |
---|---|
hsl(309, 10%, 44%) | |
hsl(309, 20%, 44%) | |
hsl(309, 40%, 44%) | |
hsl(309, 60%, 44%) | |
hsl(309, 80%, 44%) | |
hsl(309, 100%, 44%) |
#c41eac Color Usage In CSS
body { color: #c41eac; } p { color: rgb(196, 30, 172); } header { border-bottom:1px solid #c41eac; }