#0fd845 Color
Color Codes | |
---|---|
Hex Code | #0fd845 |
RGB Code | rgb(15, 216, 69) |
HSL Code | hsl(136, 87%, 45%) |
#0fd845 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(15, 216, 69); }
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(136, 87%, 45%); }
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 #0fd845
RGB Code | Hex Code | Preview |
---|---|---|
rgb(15, 216, 69, 10%) | #0fd8451a | |
rgb(15, 216, 69, 20%) | #0fd84533 | |
rgb(15, 216, 69, 40%) | #0fd8454C | |
rgb(15, 216, 69, 60%) | #0fd84599 | |
rgb(15, 216, 69, 80%) | #0fd845CC | |
rgb(15, 216, 69, 100%) | #0fd845FF |
Saturated and desaturated colors of #0fd845
HSL Code | Preview |
---|---|
hsl(136, 10%, 45%) | |
hsl(136, 20%, 45%) | |
hsl(136, 40%, 45%) | |
hsl(136, 60%, 45%) | |
hsl(136, 80%, 45%) | |
hsl(136, 100%, 45%) |
#0fd845 Color Usage In CSS
body { color: #0fd845; } p { color: rgb(15, 216, 69); } header { border-bottom:1px solid #0fd845; }