#98f939 Color
Color Codes | |
---|---|
Hex Code | #98f939 |
RGB Code | rgb(152, 249, 57) |
HSL Code | hsl(90, 94%, 60%) |
#98f939 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(152, 249, 57); }
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(90, 94%, 60%); }
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 #98f939
RGB Code | Hex Code | Preview |
---|---|---|
rgb(152, 249, 57, 10%) | #98f9391a | |
rgb(152, 249, 57, 20%) | #98f93933 | |
rgb(152, 249, 57, 40%) | #98f9394C | |
rgb(152, 249, 57, 60%) | #98f93999 | |
rgb(152, 249, 57, 80%) | #98f939CC | |
rgb(152, 249, 57, 100%) | #98f939FF |
Saturated and desaturated colors of #98f939
HSL Code | Preview |
---|---|
hsl(90, 10%, 60%) | |
hsl(90, 20%, 60%) | |
hsl(90, 40%, 60%) | |
hsl(90, 60%, 60%) | |
hsl(90, 80%, 60%) | |
hsl(90, 100%, 60%) |
#98f939 Color Usage In CSS
body { color: #98f939; } p { color: rgb(152, 249, 57); } header { border-bottom:1px solid #98f939; }