#27ba3b Color
Color Codes | |
---|---|
Hex Code | #27ba3b |
RGB Code | rgb(39, 186, 59) |
HSL Code | hsl(128, 65%, 44%) |
#27ba3b Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(39, 186, 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(128, 65%, 44%); }
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 #27ba3b
RGB Code | Hex Code | Preview |
---|---|---|
rgb(39, 186, 59, 10%) | #27ba3b1a | |
rgb(39, 186, 59, 20%) | #27ba3b33 | |
rgb(39, 186, 59, 40%) | #27ba3b4C | |
rgb(39, 186, 59, 60%) | #27ba3b99 | |
rgb(39, 186, 59, 80%) | #27ba3bCC | |
rgb(39, 186, 59, 100%) | #27ba3bFF |
Saturated and desaturated colors of #27ba3b
HSL Code | Preview |
---|---|
hsl(128, 10%, 44%) | |
hsl(128, 20%, 44%) | |
hsl(128, 40%, 44%) | |
hsl(128, 60%, 44%) | |
hsl(128, 80%, 44%) | |
hsl(128, 100%, 44%) |
#27ba3b Color Usage In CSS
body { color: #27ba3b; } p { color: rgb(39, 186, 59); } header { border-bottom:1px solid #27ba3b; }