#128d53 Color
Color Codes | |
---|---|
Hex Code | #128d53 |
RGB Code | rgb(18, 141, 83) |
HSL Code | hsl(152, 77%, 31%) |
#128d53 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(18, 141, 83); }
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(152, 77%, 31%); }
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 #128d53
RGB Code | Hex Code | Preview |
---|---|---|
rgb(18, 141, 83, 10%) | #128d531a | |
rgb(18, 141, 83, 20%) | #128d5333 | |
rgb(18, 141, 83, 40%) | #128d534C | |
rgb(18, 141, 83, 60%) | #128d5399 | |
rgb(18, 141, 83, 80%) | #128d53CC | |
rgb(18, 141, 83, 100%) | #128d53FF |
Saturated and desaturated colors of #128d53
HSL Code | Preview |
---|---|
hsl(152, 10%, 31%) | |
hsl(152, 20%, 31%) | |
hsl(152, 40%, 31%) | |
hsl(152, 60%, 31%) | |
hsl(152, 80%, 31%) | |
hsl(152, 100%, 31%) |
#128d53 Color Usage In CSS
body { color: #128d53; } p { color: rgb(18, 141, 83); } header { border-bottom:1px solid #128d53; }