#38cc46 Color
Color Codes | |
---|---|
Hex Code | #38cc46 |
RGB Code | rgb(56, 204, 70) |
HSL Code | hsl(126, 59%, 51%) |
#38cc46 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(56, 204, 70); }
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(126, 59%, 51%); }
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 #38cc46
RGB Code | Hex Code | Preview |
---|---|---|
rgb(56, 204, 70, 10%) | #38cc461a | |
rgb(56, 204, 70, 20%) | #38cc4633 | |
rgb(56, 204, 70, 40%) | #38cc464C | |
rgb(56, 204, 70, 60%) | #38cc4699 | |
rgb(56, 204, 70, 80%) | #38cc46CC | |
rgb(56, 204, 70, 100%) | #38cc46FF |
Saturated and desaturated colors of #38cc46
HSL Code | Preview |
---|---|
hsl(126, 10%, 51%) | |
hsl(126, 20%, 51%) | |
hsl(126, 40%, 51%) | |
hsl(126, 60%, 51%) | |
hsl(126, 80%, 51%) | |
hsl(126, 100%, 51%) |
#38cc46 Color Usage In CSS
body { color: #38cc46; } p { color: rgb(56, 204, 70); } header { border-bottom:1px solid #38cc46; }