#f214b6 Color
Color Codes | |
---|---|
Hex Code | #f214b6 |
RGB Code | rgb(242, 20, 182) |
HSL Code | hsl(316, 90%, 51%) |
#f214b6 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(242, 20, 182); }
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(316, 90%, 51%); }
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 #f214b6
RGB Code | Hex Code | Preview |
---|---|---|
rgb(242, 20, 182, 10%) | #f214b61a | |
rgb(242, 20, 182, 20%) | #f214b633 | |
rgb(242, 20, 182, 40%) | #f214b64C | |
rgb(242, 20, 182, 60%) | #f214b699 | |
rgb(242, 20, 182, 80%) | #f214b6CC | |
rgb(242, 20, 182, 100%) | #f214b6FF |
Saturated and desaturated colors of #f214b6
HSL Code | Preview |
---|---|
hsl(316, 10%, 51%) | |
hsl(316, 20%, 51%) | |
hsl(316, 40%, 51%) | |
hsl(316, 60%, 51%) | |
hsl(316, 80%, 51%) | |
hsl(316, 100%, 51%) |
#f214b6 Color Usage In CSS
body { color: #f214b6; } p { color: rgb(242, 20, 182); } header { border-bottom:1px solid #f214b6; }