#e27ac6 Color
Color Codes | |
---|---|
Hex Code | #e27ac6 |
RGB Code | rgb(226, 122, 198) |
HSL Code | hsl(316, 64%, 68%) |
#e27ac6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(226, 122, 198); }
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(316, 64%, 68%); }
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 #e27ac6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(226, 122, 198, 10%) | #e27ac61a | |
rgb(226, 122, 198, 20%) | #e27ac633 | |
rgb(226, 122, 198, 40%) | #e27ac64C | |
rgb(226, 122, 198, 60%) | #e27ac699 | |
rgb(226, 122, 198, 80%) | #e27ac6CC | |
rgb(226, 122, 198, 100%) | #e27ac6FF |
Saturated and desaturated colors of #e27ac6
HSL Code | Preview |
---|---|
hsl(316, 10%, 68%) | |
hsl(316, 20%, 68%) | |
hsl(316, 40%, 68%) | |
hsl(316, 60%, 68%) | |
hsl(316, 80%, 68%) | |
hsl(316, 100%, 68%) |
#e27ac6 Color Usage In CSS
body { color: #e27ac6; } p { color: rgb(226, 122, 198); } header { border-bottom:1px solid #e27ac6; }