#0af939 Color
Color Codes | |
---|---|
Hex Code | #0af939 |
RGB Code | rgb(10, 249, 57) |
HSL Code | hsl(132, 95%, 51%) |
#0af939 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(10, 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(132, 95%, 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 #0af939
RGB Code | Hex Code | Preview |
---|---|---|
rgb(10, 249, 57, 10%) | #0af9391a | |
rgb(10, 249, 57, 20%) | #0af93933 | |
rgb(10, 249, 57, 40%) | #0af9394C | |
rgb(10, 249, 57, 60%) | #0af93999 | |
rgb(10, 249, 57, 80%) | #0af939CC | |
rgb(10, 249, 57, 100%) | #0af939FF |
Saturated and desaturated colors of #0af939
HSL Code | Preview |
---|---|
hsl(132, 10%, 51%) | |
hsl(132, 20%, 51%) | |
hsl(132, 40%, 51%) | |
hsl(132, 60%, 51%) | |
hsl(132, 80%, 51%) | |
hsl(132, 100%, 51%) |
#0af939 Color Usage In CSS
body { color: #0af939; } p { color: rgb(10, 249, 57); } header { border-bottom:1px solid #0af939; }