#ee1275 Color
Color Codes | |
---|---|
Hex Code | #ee1275 |
RGB Code | rgb(238, 18, 117) |
HSL Code | hsl(333, 87%, 50%) |
#ee1275 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(238, 18, 117); }
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(333, 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 #ee1275
RGB Code | Hex Code | Preview |
---|---|---|
rgb(238, 18, 117, 10%) | #ee12751a | |
rgb(238, 18, 117, 20%) | #ee127533 | |
rgb(238, 18, 117, 40%) | #ee12754C | |
rgb(238, 18, 117, 60%) | #ee127599 | |
rgb(238, 18, 117, 80%) | #ee1275CC | |
rgb(238, 18, 117, 100%) | #ee1275FF |
Saturated and desaturated colors of #ee1275
HSL Code | Preview |
---|---|
hsl(333, 10%, 50%) | |
hsl(333, 20%, 50%) | |
hsl(333, 40%, 50%) | |
hsl(333, 60%, 50%) | |
hsl(333, 80%, 50%) | |
hsl(333, 100%, 50%) |
#ee1275 Color Usage In CSS
body { color: #ee1275; } p { color: rgb(238, 18, 117); } header { border-bottom:1px solid #ee1275; }