#ef56c8 Color
Color Codes | |
---|---|
Hex Code | #ef56c8 |
RGB Code | rgb(239, 86, 200) |
HSL Code | hsl(315, 83%, 64%) |
#ef56c8 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(239, 86, 200); }
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(315, 83%, 64%); }
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 #ef56c8
RGB Code | Hex Code | Preview |
---|---|---|
rgb(239, 86, 200, 10%) | #ef56c81a | |
rgb(239, 86, 200, 20%) | #ef56c833 | |
rgb(239, 86, 200, 40%) | #ef56c84C | |
rgb(239, 86, 200, 60%) | #ef56c899 | |
rgb(239, 86, 200, 80%) | #ef56c8CC | |
rgb(239, 86, 200, 100%) | #ef56c8FF |
Saturated and desaturated colors of #ef56c8
HSL Code | Preview |
---|---|
hsl(315, 10%, 64%) | |
hsl(315, 20%, 64%) | |
hsl(315, 40%, 64%) | |
hsl(315, 60%, 64%) | |
hsl(315, 80%, 64%) | |
hsl(315, 100%, 64%) |
#ef56c8 Color Usage In CSS
body { color: #ef56c8; } p { color: rgb(239, 86, 200); } header { border-bottom:1px solid #ef56c8; }