#ff6fa1 Color
Color Codes | |
---|---|
Hex Code | #ff6fa1 |
RGB Code | rgb(255, 111, 161) |
HSL Code | hsl(339, 100%, 72%) |
#ff6fa1 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(255, 111, 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(339, 100%, 72%); }
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 #ff6fa1
RGB Code | Hex Code | Preview |
---|---|---|
rgb(255, 111, 161, 10%) | #ff6fa11a | |
rgb(255, 111, 161, 20%) | #ff6fa133 | |
rgb(255, 111, 161, 40%) | #ff6fa14C | |
rgb(255, 111, 161, 60%) | #ff6fa199 | |
rgb(255, 111, 161, 80%) | #ff6fa1CC | |
rgb(255, 111, 161, 100%) | #ff6fa1FF |
Saturated and desaturated colors of #ff6fa1
HSL Code | Preview |
---|---|
hsl(339, 10%, 72%) | |
hsl(339, 20%, 72%) | |
hsl(339, 40%, 72%) | |
hsl(339, 60%, 72%) | |
hsl(339, 80%, 72%) | |
hsl(339, 100%, 72%) |
#ff6fa1 Color Usage In CSS
body { color: #ff6fa1; } p { color: rgb(255, 111, 161); } header { border-bottom:1px solid #ff6fa1; }