#f289cb Color
Color Codes | |
---|---|
Hex Code | #f289cb |
RGB Code | rgb(242, 137, 203) |
HSL Code | hsl(322, 80%, 74%) |
#f289cb Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(242, 137, 203); }
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(322, 80%, 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 #f289cb
RGB Code | Hex Code | Preview |
---|---|---|
rgb(242, 137, 203, 10%) | #f289cb1a | |
rgb(242, 137, 203, 20%) | #f289cb33 | |
rgb(242, 137, 203, 40%) | #f289cb4C | |
rgb(242, 137, 203, 60%) | #f289cb99 | |
rgb(242, 137, 203, 80%) | #f289cbCC | |
rgb(242, 137, 203, 100%) | #f289cbFF |
Saturated and desaturated colors of #f289cb
HSL Code | Preview |
---|---|
hsl(322, 10%, 74%) | |
hsl(322, 20%, 74%) | |
hsl(322, 40%, 74%) | |
hsl(322, 60%, 74%) | |
hsl(322, 80%, 74%) | |
hsl(322, 100%, 74%) |
#f289cb Color Usage In CSS
body { color: #f289cb; } p { color: rgb(242, 137, 203); } header { border-bottom:1px solid #f289cb; }