#788a02 Color
Color Codes | |
---|---|
Hex Code | #788a02 |
RGB Code | rgb(120, 138, 02) |
HSL Code | hsl(68, 97%, 27%) |
#788a02 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(120, 138, 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(68, 97%, 27%); }
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 #788a02
RGB Code | Hex Code | Preview |
---|---|---|
rgb(120, 138, 02, 10%) | #788a021a | |
rgb(120, 138, 02, 20%) | #788a0233 | |
rgb(120, 138, 02, 40%) | #788a024C | |
rgb(120, 138, 02, 60%) | #788a0299 | |
rgb(120, 138, 02, 80%) | #788a02CC | |
rgb(120, 138, 02, 100%) | #788a02FF |
Saturated and desaturated colors of #788a02
HSL Code | Preview |
---|---|
hsl(68, 10%, 27%) | |
hsl(68, 20%, 27%) | |
hsl(68, 40%, 27%) | |
hsl(68, 60%, 27%) | |
hsl(68, 80%, 27%) | |
hsl(68, 100%, 27%) |
#788a02 Color Usage In CSS
body { color: #788a02; } p { color: rgb(120, 138, 02); } header { border-bottom:1px solid #788a02; }