#38a545 Color
Color Codes | |
---|---|
Hex Code | #38a545 |
RGB Code | rgb(56, 165, 69) |
HSL Code | hsl(127, 49%, 43%) |
#38a545 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(56, 165, 69); }
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(127, 49%, 43%); }
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 #38a545
RGB Code | Hex Code | Preview |
---|---|---|
rgb(56, 165, 69, 10%) | #38a5451a | |
rgb(56, 165, 69, 20%) | #38a54533 | |
rgb(56, 165, 69, 40%) | #38a5454C | |
rgb(56, 165, 69, 60%) | #38a54599 | |
rgb(56, 165, 69, 80%) | #38a545CC | |
rgb(56, 165, 69, 100%) | #38a545FF |
Saturated and desaturated colors of #38a545
HSL Code | Preview |
---|---|
hsl(127, 10%, 43%) | |
hsl(127, 20%, 43%) | |
hsl(127, 40%, 43%) | |
hsl(127, 60%, 43%) | |
hsl(127, 80%, 43%) | |
hsl(127, 100%, 43%) |
#38a545 Color Usage In CSS
body { color: #38a545; } p { color: rgb(56, 165, 69); } header { border-bottom:1px solid #38a545; }