#7af268 Color
Color Codes | |
---|---|
Hex Code | #7af268 |
RGB Code | rgb(122, 242, 104) |
HSL Code | hsl(112, 84%, 68%) |
#7af268 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(122, 242, 104); }
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(112, 84%, 68%); }
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 #7af268
RGB Code | Hex Code | Preview |
---|---|---|
rgb(122, 242, 104, 10%) | #7af2681a | |
rgb(122, 242, 104, 20%) | #7af26833 | |
rgb(122, 242, 104, 40%) | #7af2684C | |
rgb(122, 242, 104, 60%) | #7af26899 | |
rgb(122, 242, 104, 80%) | #7af268CC | |
rgb(122, 242, 104, 100%) | #7af268FF |
Saturated and desaturated colors of #7af268
HSL Code | Preview |
---|---|
hsl(112, 10%, 68%) | |
hsl(112, 20%, 68%) | |
hsl(112, 40%, 68%) | |
hsl(112, 60%, 68%) | |
hsl(112, 80%, 68%) | |
hsl(112, 100%, 68%) |
#7af268 Color Usage In CSS
body { color: #7af268; } p { color: rgb(122, 242, 104); } header { border-bottom:1px solid #7af268; }