#ff9ec0 Color
Color Codes | |
---|---|
Hex Code | #ff9ec0 |
RGB Code | rgb(255, 158, 192) |
HSL Code | hsl(339, 100%, 81%) |
#ff9ec0 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(255, 158, 192); }
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(339, 100%, 81%); }
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 #ff9ec0
RGB Code | Hex Code | Preview |
---|---|---|
rgb(255, 158, 192, 10%) | #ff9ec01a | |
rgb(255, 158, 192, 20%) | #ff9ec033 | |
rgb(255, 158, 192, 40%) | #ff9ec04C | |
rgb(255, 158, 192, 60%) | #ff9ec099 | |
rgb(255, 158, 192, 80%) | #ff9ec0CC | |
rgb(255, 158, 192, 100%) | #ff9ec0FF |
Saturated and desaturated colors of #ff9ec0
HSL Code | Preview |
---|---|
hsl(339, 10%, 81%) | |
hsl(339, 20%, 81%) | |
hsl(339, 40%, 81%) | |
hsl(339, 60%, 81%) | |
hsl(339, 80%, 81%) | |
hsl(339, 100%, 81%) |
#ff9ec0 Color Usage In CSS
body { color: #ff9ec0; } p { color: rgb(255, 158, 192); } header { border-bottom:1px solid #ff9ec0; }