#e44def Color
Color Codes | |
---|---|
Hex Code | #e44def |
RGB Code | rgb(228, 77, 239) |
HSL Code | hsl(296, 84%, 62%) |
#e44def Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(228, 77, 239); }
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(296, 84%, 62%); }
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 #e44def
RGB Code | Hex Code | Preview |
---|---|---|
rgb(228, 77, 239, 10%) | #e44def1a | |
rgb(228, 77, 239, 20%) | #e44def33 | |
rgb(228, 77, 239, 40%) | #e44def4C | |
rgb(228, 77, 239, 60%) | #e44def99 | |
rgb(228, 77, 239, 80%) | #e44defCC | |
rgb(228, 77, 239, 100%) | #e44defFF |
Saturated and desaturated colors of #e44def
HSL Code | Preview |
---|---|
hsl(296, 10%, 62%) | |
hsl(296, 20%, 62%) | |
hsl(296, 40%, 62%) | |
hsl(296, 60%, 62%) | |
hsl(296, 80%, 62%) | |
hsl(296, 100%, 62%) |
#e44def Color Usage In CSS
body { color: #e44def; } p { color: rgb(228, 77, 239); } header { border-bottom:1px solid #e44def; }