#38d257 Color
Color Codes | |
---|---|
Hex Code | #38d257 |
RGB Code | rgb(56, 210, 87) |
HSL Code | hsl(132, 63%, 52%) |
#38d257 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(56, 210, 87); }
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(132, 63%, 52%); }
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 #38d257
RGB Code | Hex Code | Preview |
---|---|---|
rgb(56, 210, 87, 10%) | #38d2571a | |
rgb(56, 210, 87, 20%) | #38d25733 | |
rgb(56, 210, 87, 40%) | #38d2574C | |
rgb(56, 210, 87, 60%) | #38d25799 | |
rgb(56, 210, 87, 80%) | #38d257CC | |
rgb(56, 210, 87, 100%) | #38d257FF |
Saturated and desaturated colors of #38d257
HSL Code | Preview |
---|---|
hsl(132, 10%, 52%) | |
hsl(132, 20%, 52%) | |
hsl(132, 40%, 52%) | |
hsl(132, 60%, 52%) | |
hsl(132, 80%, 52%) | |
hsl(132, 100%, 52%) |
#38d257 Color Usage In CSS
body { color: #38d257; } p { color: rgb(56, 210, 87); } header { border-bottom:1px solid #38d257; }