#56f130 Color
Color Codes | |
---|---|
Hex Code | #56f130 |
RGB Code | rgb(86, 241, 48) |
HSL Code | hsl(108, 87%, 57%) |
#56f130 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(86, 241, 48); }
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(108, 87%, 57%); }
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 #56f130
RGB Code | Hex Code | Preview |
---|---|---|
rgb(86, 241, 48, 10%) | #56f1301a | |
rgb(86, 241, 48, 20%) | #56f13033 | |
rgb(86, 241, 48, 40%) | #56f1304C | |
rgb(86, 241, 48, 60%) | #56f13099 | |
rgb(86, 241, 48, 80%) | #56f130CC | |
rgb(86, 241, 48, 100%) | #56f130FF |
Saturated and desaturated colors of #56f130
HSL Code | Preview |
---|---|
hsl(108, 10%, 57%) | |
hsl(108, 20%, 57%) | |
hsl(108, 40%, 57%) | |
hsl(108, 60%, 57%) | |
hsl(108, 80%, 57%) | |
hsl(108, 100%, 57%) |
#56f130 Color Usage In CSS
body { color: #56f130; } p { color: rgb(86, 241, 48); } header { border-bottom:1px solid #56f130; }