#78c802 Color
Color Codes | |
---|---|
Hex Code | #78c802 |
RGB Code | rgb(120, 200, 02) |
HSL Code | hsl(84, 98%, 40%) |
#78c802 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(120, 200, 02); }
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(84, 98%, 40%); }
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 #78c802
RGB Code | Hex Code | Preview |
---|---|---|
rgb(120, 200, 02, 10%) | #78c8021a | |
rgb(120, 200, 02, 20%) | #78c80233 | |
rgb(120, 200, 02, 40%) | #78c8024C | |
rgb(120, 200, 02, 60%) | #78c80299 | |
rgb(120, 200, 02, 80%) | #78c802CC | |
rgb(120, 200, 02, 100%) | #78c802FF |
Saturated and desaturated colors of #78c802
HSL Code | Preview |
---|---|
hsl(84, 10%, 40%) | |
hsl(84, 20%, 40%) | |
hsl(84, 40%, 40%) | |
hsl(84, 60%, 40%) | |
hsl(84, 80%, 40%) | |
hsl(84, 100%, 40%) |
#78c802 Color Usage In CSS
body { color: #78c802; } p { color: rgb(120, 200, 02); } header { border-bottom:1px solid #78c802; }