#ef39dd Color
Color Codes | |
---|---|
Hex Code | #ef39dd |
RGB Code | rgb(239, 57, 221) |
HSL Code | hsl(306, 85%, 58%) |
#ef39dd Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(239, 57, 221); }
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(306, 85%, 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 #ef39dd
RGB Code | Hex Code | Preview |
---|---|---|
rgb(239, 57, 221, 10%) | #ef39dd1a | |
rgb(239, 57, 221, 20%) | #ef39dd33 | |
rgb(239, 57, 221, 40%) | #ef39dd4C | |
rgb(239, 57, 221, 60%) | #ef39dd99 | |
rgb(239, 57, 221, 80%) | #ef39ddCC | |
rgb(239, 57, 221, 100%) | #ef39ddFF |
Saturated and desaturated colors of #ef39dd
HSL Code | Preview |
---|---|
hsl(306, 10%, 58%) | |
hsl(306, 20%, 58%) | |
hsl(306, 40%, 58%) | |
hsl(306, 60%, 58%) | |
hsl(306, 80%, 58%) | |
hsl(306, 100%, 58%) |
#ef39dd Color Usage In CSS
body { color: #ef39dd; } p { color: rgb(239, 57, 221); } header { border-bottom:1px solid #ef39dd; }