#fe2cba Color
Color Codes | |
---|---|
Hex Code | #fe2cba |
RGB Code | rgb(254, 44, 186) |
HSL Code | hsl(319, 99%, 58%) |
#fe2cba Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(254, 44, 186); }
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(319, 99%, 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 #fe2cba
RGB Code | Hex Code | Preview |
---|---|---|
rgb(254, 44, 186, 10%) | #fe2cba1a | |
rgb(254, 44, 186, 20%) | #fe2cba33 | |
rgb(254, 44, 186, 40%) | #fe2cba4C | |
rgb(254, 44, 186, 60%) | #fe2cba99 | |
rgb(254, 44, 186, 80%) | #fe2cbaCC | |
rgb(254, 44, 186, 100%) | #fe2cbaFF |
Saturated and desaturated colors of #fe2cba
HSL Code | Preview |
---|---|
hsl(319, 10%, 58%) | |
hsl(319, 20%, 58%) | |
hsl(319, 40%, 58%) | |
hsl(319, 60%, 58%) | |
hsl(319, 80%, 58%) | |
hsl(319, 100%, 58%) |
#fe2cba Color Usage In CSS
body { color: #fe2cba; } p { color: rgb(254, 44, 186); } header { border-bottom:1px solid #fe2cba; }