#3b905b Color
Color Codes | |
---|---|
Hex Code | #3b905b |
RGB Code | rgb(59, 144, 91) |
HSL Code | hsl(143, 42%, 40%) |
#3b905b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(59, 144, 91); }
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(143, 42%, 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 #3b905b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(59, 144, 91, 10%) | #3b905b1a | |
rgb(59, 144, 91, 20%) | #3b905b33 | |
rgb(59, 144, 91, 40%) | #3b905b4C | |
rgb(59, 144, 91, 60%) | #3b905b99 | |
rgb(59, 144, 91, 80%) | #3b905bCC | |
rgb(59, 144, 91, 100%) | #3b905bFF |
Saturated and desaturated colors of #3b905b
HSL Code | Preview |
---|---|
hsl(143, 10%, 40%) | |
hsl(143, 20%, 40%) | |
hsl(143, 40%, 40%) | |
hsl(143, 60%, 40%) | |
hsl(143, 80%, 40%) | |
hsl(143, 100%, 40%) |
#3b905b Color Usage In CSS
body { color: #3b905b; } p { color: rgb(59, 144, 91); } header { border-bottom:1px solid #3b905b; }