#f62841 Color
Color Codes | |
---|---|
Hex Code | #f62841 |
RGB Code | rgb(246, 40, 65) |
HSL Code | hsl(353, 92%, 56%) |
#f62841 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(246, 40, 65); }
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(353, 92%, 56%); }
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 #f62841
RGB Code | Hex Code | Preview |
---|---|---|
rgb(246, 40, 65, 10%) | #f628411a | |
rgb(246, 40, 65, 20%) | #f6284133 | |
rgb(246, 40, 65, 40%) | #f628414C | |
rgb(246, 40, 65, 60%) | #f6284199 | |
rgb(246, 40, 65, 80%) | #f62841CC | |
rgb(246, 40, 65, 100%) | #f62841FF |
Saturated and desaturated colors of #f62841
HSL Code | Preview |
---|---|
hsl(353, 10%, 56%) | |
hsl(353, 20%, 56%) | |
hsl(353, 40%, 56%) | |
hsl(353, 60%, 56%) | |
hsl(353, 80%, 56%) | |
hsl(353, 100%, 56%) |
#f62841 Color Usage In CSS
body { color: #f62841; } p { color: rgb(246, 40, 65); } header { border-bottom:1px solid #f62841; }