#28fa00 Color
Color Codes | |
---|---|
Hex Code | #28fa00 |
RGB Code | rgb(40, 250, 00) |
HSL Code | hsl(110, 100%, 49%) |
#28fa00 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(40, 250, 00); }
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(110, 100%, 49%); }
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 #28fa00
RGB Code | Hex Code | Preview |
---|---|---|
rgb(40, 250, 00, 10%) | #28fa001a | |
rgb(40, 250, 00, 20%) | #28fa0033 | |
rgb(40, 250, 00, 40%) | #28fa004C | |
rgb(40, 250, 00, 60%) | #28fa0099 | |
rgb(40, 250, 00, 80%) | #28fa00CC | |
rgb(40, 250, 00, 100%) | #28fa00FF |
Saturated and desaturated colors of #28fa00
HSL Code | Preview |
---|---|
hsl(110, 10%, 49%) | |
hsl(110, 20%, 49%) | |
hsl(110, 40%, 49%) | |
hsl(110, 60%, 49%) | |
hsl(110, 80%, 49%) | |
hsl(110, 100%, 49%) |
#28fa00 Color Usage In CSS
body { color: #28fa00; } p { color: rgb(40, 250, 00); } header { border-bottom:1px solid #28fa00; }