#f400f4 Color
Color Codes | |
---|---|
Hex Code | #f400f4 |
RGB Code | rgb(244, 00, 244) |
HSL Code | hsl(300, 100%, 48%) |
#f400f4 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(244, 00, 244); }
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(300, 100%, 48%); }
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 #f400f4
RGB Code | Hex Code | Preview |
---|---|---|
rgb(244, 00, 244, 10%) | #f400f41a | |
rgb(244, 00, 244, 20%) | #f400f433 | |
rgb(244, 00, 244, 40%) | #f400f44C | |
rgb(244, 00, 244, 60%) | #f400f499 | |
rgb(244, 00, 244, 80%) | #f400f4CC | |
rgb(244, 00, 244, 100%) | #f400f4FF |
Saturated and desaturated colors of #f400f4
HSL Code | Preview |
---|---|
hsl(300, 10%, 48%) | |
hsl(300, 20%, 48%) | |
hsl(300, 40%, 48%) | |
hsl(300, 60%, 48%) | |
hsl(300, 80%, 48%) | |
hsl(300, 100%, 48%) |
#f400f4 Color Usage In CSS
body { color: #f400f4; } p { color: rgb(244, 00, 244); } header { border-bottom:1px solid #f400f4; }