#e26ba6 Color
Color Codes | |
---|---|
Hex Code | #e26ba6 |
RGB Code | rgb(226, 107, 166) |
HSL Code | hsl(330, 67%, 65%) |
#e26ba6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(226, 107, 166); }
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(330, 67%, 65%); }
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 #e26ba6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(226, 107, 166, 10%) | #e26ba61a | |
rgb(226, 107, 166, 20%) | #e26ba633 | |
rgb(226, 107, 166, 40%) | #e26ba64C | |
rgb(226, 107, 166, 60%) | #e26ba699 | |
rgb(226, 107, 166, 80%) | #e26ba6CC | |
rgb(226, 107, 166, 100%) | #e26ba6FF |
Saturated and desaturated colors of #e26ba6
HSL Code | Preview |
---|---|
hsl(330, 10%, 65%) | |
hsl(330, 20%, 65%) | |
hsl(330, 40%, 65%) | |
hsl(330, 60%, 65%) | |
hsl(330, 80%, 65%) | |
hsl(330, 100%, 65%) |
#e26ba6 Color Usage In CSS
body { color: #e26ba6; } p { color: rgb(226, 107, 166); } header { border-bottom:1px solid #e26ba6; }