#ef29ff Color
Color Codes | |
---|---|
Hex Code | #ef29ff |
RGB Code | rgb(239, 41, 255) |
HSL Code | hsl(296, 100%, 58%) |
#ef29ff Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(239, 41, 255); }
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, 100%, 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 #ef29ff
RGB Code | Hex Code | Preview |
---|---|---|
rgb(239, 41, 255, 10%) | #ef29ff1a | |
rgb(239, 41, 255, 20%) | #ef29ff33 | |
rgb(239, 41, 255, 40%) | #ef29ff4C | |
rgb(239, 41, 255, 60%) | #ef29ff99 | |
rgb(239, 41, 255, 80%) | #ef29ffCC | |
rgb(239, 41, 255, 100%) | #ef29ffFF |
Saturated and desaturated colors of #ef29ff
HSL Code | Preview |
---|---|
hsl(296, 10%, 58%) | |
hsl(296, 20%, 58%) | |
hsl(296, 40%, 58%) | |
hsl(296, 60%, 58%) | |
hsl(296, 80%, 58%) | |
hsl(296, 100%, 58%) |
#ef29ff Color Usage In CSS
body { color: #ef29ff; } p { color: rgb(239, 41, 255); } header { border-bottom:1px solid #ef29ff; }