#ef61f4 Color
Color Codes | |
---|---|
Hex Code | #ef61f4 |
RGB Code | rgb(239, 97, 244) |
HSL Code | hsl(298, 87%, 67%) |
#ef61f4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(239, 97, 244); }
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(298, 87%, 67%); }
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 #ef61f4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(239, 97, 244, 10%) | #ef61f41a | |
rgb(239, 97, 244, 20%) | #ef61f433 | |
rgb(239, 97, 244, 40%) | #ef61f44C | |
rgb(239, 97, 244, 60%) | #ef61f499 | |
rgb(239, 97, 244, 80%) | #ef61f4CC | |
rgb(239, 97, 244, 100%) | #ef61f4FF |
Saturated and desaturated colors of #ef61f4
HSL Code | Preview |
---|---|
hsl(298, 10%, 67%) | |
hsl(298, 20%, 67%) | |
hsl(298, 40%, 67%) | |
hsl(298, 60%, 67%) | |
hsl(298, 80%, 67%) | |
hsl(298, 100%, 67%) |
#ef61f4 Color Usage In CSS
body { color: #ef61f4; } p { color: rgb(239, 97, 244); } header { border-bottom:1px solid #ef61f4; }