#f12074 Color
Color Codes | |
---|---|
Hex Code | #f12074 |
RGB Code | rgb(241, 32, 116) |
HSL Code | hsl(336, 88%, 54%) |
#f12074 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(241, 32, 116); }
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(336, 88%, 54%); }
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 #f12074
RGB Code | Hex Code | Preview |
---|---|---|
rgb(241, 32, 116, 10%) | #f120741a | |
rgb(241, 32, 116, 20%) | #f1207433 | |
rgb(241, 32, 116, 40%) | #f120744C | |
rgb(241, 32, 116, 60%) | #f1207499 | |
rgb(241, 32, 116, 80%) | #f12074CC | |
rgb(241, 32, 116, 100%) | #f12074FF |
Saturated and desaturated colors of #f12074
HSL Code | Preview |
---|---|
hsl(336, 10%, 54%) | |
hsl(336, 20%, 54%) | |
hsl(336, 40%, 54%) | |
hsl(336, 60%, 54%) | |
hsl(336, 80%, 54%) | |
hsl(336, 100%, 54%) |
#f12074 Color Usage In CSS
body { color: #f12074; } p { color: rgb(241, 32, 116); } header { border-bottom:1px solid #f12074; }