#1fc687 Color
Color Codes | |
---|---|
Hex Code | #1fc687 |
RGB Code | rgb(31, 198, 135) |
HSL Code | hsl(157, 73%, 45%) |
#1fc687 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(31, 198, 135); }
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(157, 73%, 45%); }
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 #1fc687
RGB Code | Hex Code | Preview |
---|---|---|
rgb(31, 198, 135, 10%) | #1fc6871a | |
rgb(31, 198, 135, 20%) | #1fc68733 | |
rgb(31, 198, 135, 40%) | #1fc6874C | |
rgb(31, 198, 135, 60%) | #1fc68799 | |
rgb(31, 198, 135, 80%) | #1fc687CC | |
rgb(31, 198, 135, 100%) | #1fc687FF |
Saturated and desaturated colors of #1fc687
HSL Code | Preview |
---|---|
hsl(157, 10%, 45%) | |
hsl(157, 20%, 45%) | |
hsl(157, 40%, 45%) | |
hsl(157, 60%, 45%) | |
hsl(157, 80%, 45%) | |
hsl(157, 100%, 45%) |
#1fc687 Color Usage In CSS
body { color: #1fc687; } p { color: rgb(31, 198, 135); } header { border-bottom:1px solid #1fc687; }