#04803b Color
Color Codes | |
---|---|
Hex Code | #04803b |
RGB Code | rgb(04, 128, 59) |
HSL Code | hsl(147, 94%, 26%) |
#04803b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(04, 128, 59); }
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(147, 94%, 26%); }
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 #04803b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(04, 128, 59, 10%) | #04803b1a | |
rgb(04, 128, 59, 20%) | #04803b33 | |
rgb(04, 128, 59, 40%) | #04803b4C | |
rgb(04, 128, 59, 60%) | #04803b99 | |
rgb(04, 128, 59, 80%) | #04803bCC | |
rgb(04, 128, 59, 100%) | #04803bFF |
Saturated and desaturated colors of #04803b
HSL Code | Preview |
---|---|
hsl(147, 10%, 26%) | |
hsl(147, 20%, 26%) | |
hsl(147, 40%, 26%) | |
hsl(147, 60%, 26%) | |
hsl(147, 80%, 26%) | |
hsl(147, 100%, 26%) |
#04803b Color Usage In CSS
body { color: #04803b; } p { color: rgb(04, 128, 59); } header { border-bottom:1px solid #04803b; }