#ff66e1 Color
Color Codes | |
---|---|
Hex Code | #ff66e1 |
RGB Code | rgb(255, 102, 225) |
HSL Code | hsl(312, 100%, 70%) |
#ff66e1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(255, 102, 225); }
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(312, 100%, 70%); }
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 #ff66e1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(255, 102, 225, 10%) | #ff66e11a | |
rgb(255, 102, 225, 20%) | #ff66e133 | |
rgb(255, 102, 225, 40%) | #ff66e14C | |
rgb(255, 102, 225, 60%) | #ff66e199 | |
rgb(255, 102, 225, 80%) | #ff66e1CC | |
rgb(255, 102, 225, 100%) | #ff66e1FF |
Saturated and desaturated colors of #ff66e1
HSL Code | Preview |
---|---|
hsl(312, 10%, 70%) | |
hsl(312, 20%, 70%) | |
hsl(312, 40%, 70%) | |
hsl(312, 60%, 70%) | |
hsl(312, 80%, 70%) | |
hsl(312, 100%, 70%) |
#ff66e1 Color Usage In CSS
body { color: #ff66e1; } p { color: rgb(255, 102, 225); } header { border-bottom:1px solid #ff66e1; }