#f60b5f Color
Color Codes | |
---|---|
Hex Code | #f60b5f |
RGB Code | rgb(246, 11, 95) |
HSL Code | hsl(339, 93%, 50%) |
#f60b5f Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(246, 11, 95); }
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(339, 93%, 50%); }
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 #f60b5f
RGB Code | Hex Code | Preview |
---|---|---|
rgb(246, 11, 95, 10%) | #f60b5f1a | |
rgb(246, 11, 95, 20%) | #f60b5f33 | |
rgb(246, 11, 95, 40%) | #f60b5f4C | |
rgb(246, 11, 95, 60%) | #f60b5f99 | |
rgb(246, 11, 95, 80%) | #f60b5fCC | |
rgb(246, 11, 95, 100%) | #f60b5fFF |
Saturated and desaturated colors of #f60b5f
HSL Code | Preview |
---|---|
hsl(339, 10%, 50%) | |
hsl(339, 20%, 50%) | |
hsl(339, 40%, 50%) | |
hsl(339, 60%, 50%) | |
hsl(339, 80%, 50%) | |
hsl(339, 100%, 50%) |
#f60b5f Color Usage In CSS
body { color: #f60b5f; } p { color: rgb(246, 11, 95); } header { border-bottom:1px solid #f60b5f; }