#f50034 Color
Color Codes | |
---|---|
Hex Code | #f50034 |
RGB Code | rgb(245, 00, 52) |
HSL Code | hsl(347, 100%, 48%) |
#f50034 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(245, 00, 52); }
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(347, 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 #f50034
RGB Code | Hex Code | Preview |
---|---|---|
rgb(245, 00, 52, 10%) | #f500341a | |
rgb(245, 00, 52, 20%) | #f5003433 | |
rgb(245, 00, 52, 40%) | #f500344C | |
rgb(245, 00, 52, 60%) | #f5003499 | |
rgb(245, 00, 52, 80%) | #f50034CC | |
rgb(245, 00, 52, 100%) | #f50034FF |
Saturated and desaturated colors of #f50034
HSL Code | Preview |
---|---|
hsl(347, 10%, 48%) | |
hsl(347, 20%, 48%) | |
hsl(347, 40%, 48%) | |
hsl(347, 60%, 48%) | |
hsl(347, 80%, 48%) | |
hsl(347, 100%, 48%) |
#f50034 Color Usage In CSS
body { color: #f50034; } p { color: rgb(245, 00, 52); } header { border-bottom:1px solid #f50034; }