#fe7ba9 Color
Color Codes | |
---|---|
Hex Code | #fe7ba9 |
RGB Code | rgb(254, 123, 169) |
HSL Code | hsl(339, 98%, 74%) |
#fe7ba9 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(254, 123, 169); }
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, 98%, 74%); }
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 #fe7ba9
RGB Code | Hex Code | Preview |
---|---|---|
rgb(254, 123, 169, 10%) | #fe7ba91a | |
rgb(254, 123, 169, 20%) | #fe7ba933 | |
rgb(254, 123, 169, 40%) | #fe7ba94C | |
rgb(254, 123, 169, 60%) | #fe7ba999 | |
rgb(254, 123, 169, 80%) | #fe7ba9CC | |
rgb(254, 123, 169, 100%) | #fe7ba9FF |
Saturated and desaturated colors of #fe7ba9
HSL Code | Preview |
---|---|
hsl(339, 10%, 74%) | |
hsl(339, 20%, 74%) | |
hsl(339, 40%, 74%) | |
hsl(339, 60%, 74%) | |
hsl(339, 80%, 74%) | |
hsl(339, 100%, 74%) |
#fe7ba9 Color Usage In CSS
body { color: #fe7ba9; } p { color: rgb(254, 123, 169); } header { border-bottom:1px solid #fe7ba9; }