#f066e7 Color
Color Codes | |
---|---|
Hex Code | #f066e7 |
RGB Code | rgb(240, 102, 231) |
HSL Code | hsl(304, 82%, 67%) |
#f066e7 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(240, 102, 231); }
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(304, 82%, 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 #f066e7
RGB Code | Hex Code | Preview |
---|---|---|
rgb(240, 102, 231, 10%) | #f066e71a | |
rgb(240, 102, 231, 20%) | #f066e733 | |
rgb(240, 102, 231, 40%) | #f066e74C | |
rgb(240, 102, 231, 60%) | #f066e799 | |
rgb(240, 102, 231, 80%) | #f066e7CC | |
rgb(240, 102, 231, 100%) | #f066e7FF |
Saturated and desaturated colors of #f066e7
HSL Code | Preview |
---|---|
hsl(304, 10%, 67%) | |
hsl(304, 20%, 67%) | |
hsl(304, 40%, 67%) | |
hsl(304, 60%, 67%) | |
hsl(304, 80%, 67%) | |
hsl(304, 100%, 67%) |
#f066e7 Color Usage In CSS
body { color: #f066e7; } p { color: rgb(240, 102, 231); } header { border-bottom:1px solid #f066e7; }