#237b40 Color
Color Codes | |
---|---|
Hex Code | #237b40 |
RGB Code | rgb(35, 123, 64) |
HSL Code | hsl(140, 56%, 31%) |
#237b40 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(35, 123, 64); }
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(140, 56%, 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 #237b40
RGB Code | Hex Code | Preview |
---|---|---|
rgb(35, 123, 64, 10%) | #237b401a | |
rgb(35, 123, 64, 20%) | #237b4033 | |
rgb(35, 123, 64, 40%) | #237b404C | |
rgb(35, 123, 64, 60%) | #237b4099 | |
rgb(35, 123, 64, 80%) | #237b40CC | |
rgb(35, 123, 64, 100%) | #237b40FF |
Saturated and desaturated colors of #237b40
HSL Code | Preview |
---|---|
hsl(140, 10%, 31%) | |
hsl(140, 20%, 31%) | |
hsl(140, 40%, 31%) | |
hsl(140, 60%, 31%) | |
hsl(140, 80%, 31%) | |
hsl(140, 100%, 31%) |
#237b40 Color Usage In CSS
body { color: #237b40; } p { color: rgb(35, 123, 64); } header { border-bottom:1px solid #237b40; }