#f6276d Color
Color Codes | |
---|---|
Hex Code | #f6276d |
RGB Code | rgb(246, 39, 109) |
HSL Code | hsl(340, 92%, 56%) |
#f6276d Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(246, 39, 109); }
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(340, 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 #f6276d
RGB Code | Hex Code | Preview |
---|---|---|
rgb(246, 39, 109, 10%) | #f6276d1a | |
rgb(246, 39, 109, 20%) | #f6276d33 | |
rgb(246, 39, 109, 40%) | #f6276d4C | |
rgb(246, 39, 109, 60%) | #f6276d99 | |
rgb(246, 39, 109, 80%) | #f6276dCC | |
rgb(246, 39, 109, 100%) | #f6276dFF |
Saturated and desaturated colors of #f6276d
HSL Code | Preview |
---|---|
hsl(340, 10%, 56%) | |
hsl(340, 20%, 56%) | |
hsl(340, 40%, 56%) | |
hsl(340, 60%, 56%) | |
hsl(340, 80%, 56%) | |
hsl(340, 100%, 56%) |
#f6276d Color Usage In CSS
body { color: #f6276d; } p { color: rgb(246, 39, 109); } header { border-bottom:1px solid #f6276d; }