#ee1287 Color
Color Codes | |
---|---|
Hex Code | #ee1287 |
RGB Code | rgb(238, 18, 135) |
HSL Code | hsl(328, 87%, 50%) |
#ee1287 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(238, 18, 135); }
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(328, 87%, 50%); }
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 #ee1287
RGB Code | Hex Code | Preview |
---|---|---|
rgb(238, 18, 135, 10%) | #ee12871a | |
rgb(238, 18, 135, 20%) | #ee128733 | |
rgb(238, 18, 135, 40%) | #ee12874C | |
rgb(238, 18, 135, 60%) | #ee128799 | |
rgb(238, 18, 135, 80%) | #ee1287CC | |
rgb(238, 18, 135, 100%) | #ee1287FF |
Saturated and desaturated colors of #ee1287
HSL Code | Preview |
---|---|
hsl(328, 10%, 50%) | |
hsl(328, 20%, 50%) | |
hsl(328, 40%, 50%) | |
hsl(328, 60%, 50%) | |
hsl(328, 80%, 50%) | |
hsl(328, 100%, 50%) |
#ee1287 Color Usage In CSS
body { color: #ee1287; } p { color: rgb(238, 18, 135); } header { border-bottom:1px solid #ee1287; }