#f68b81 Color
Color Codes | |
---|---|
Hex Code | #f68b81 |
RGB Code | rgb(246, 139, 129) |
HSL Code | hsl(5, 87%, 74%) |
#f68b81 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(246, 139, 129); }
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(5, 87%, 74%); }
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 #f68b81
RGB Code | Hex Code | Preview |
---|---|---|
rgb(246, 139, 129, 10%) | #f68b811a | |
rgb(246, 139, 129, 20%) | #f68b8133 | |
rgb(246, 139, 129, 40%) | #f68b814C | |
rgb(246, 139, 129, 60%) | #f68b8199 | |
rgb(246, 139, 129, 80%) | #f68b81CC | |
rgb(246, 139, 129, 100%) | #f68b81FF |
Saturated and desaturated colors of #f68b81
HSL Code | Preview |
---|---|
hsl(5, 10%, 74%) | |
hsl(5, 20%, 74%) | |
hsl(5, 40%, 74%) | |
hsl(5, 60%, 74%) | |
hsl(5, 80%, 74%) | |
hsl(5, 100%, 74%) |
#f68b81 Color Usage In CSS
body { color: #f68b81; } p { color: rgb(246, 139, 129); } header { border-bottom:1px solid #f68b81; }