#f262a1 Color
Color Codes | |
---|---|
Hex Code | #f262a1 |
RGB Code | rgb(242, 98, 161) |
HSL Code | hsl(334, 85%, 67%) |
#f262a1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(242, 98, 161); }
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(334, 85%, 67%); }
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 #f262a1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(242, 98, 161, 10%) | #f262a11a | |
rgb(242, 98, 161, 20%) | #f262a133 | |
rgb(242, 98, 161, 40%) | #f262a14C | |
rgb(242, 98, 161, 60%) | #f262a199 | |
rgb(242, 98, 161, 80%) | #f262a1CC | |
rgb(242, 98, 161, 100%) | #f262a1FF |
Saturated and desaturated colors of #f262a1
HSL Code | Preview |
---|---|
hsl(334, 10%, 67%) | |
hsl(334, 20%, 67%) | |
hsl(334, 40%, 67%) | |
hsl(334, 60%, 67%) | |
hsl(334, 80%, 67%) | |
hsl(334, 100%, 67%) |
#f262a1 Color Usage In CSS
body { color: #f262a1; } p { color: rgb(242, 98, 161); } header { border-bottom:1px solid #f262a1; }