#0fdc26 Color
Color Codes | |
---|---|
Hex Code | #0fdc26 |
RGB Code | rgb(15, 220, 38) |
HSL Code | hsl(127, 87%, 46%) |
#0fdc26 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(15, 220, 38); }
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(127, 87%, 46%); }
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 #0fdc26
RGB Code | Hex Code | Preview |
---|---|---|
rgb(15, 220, 38, 10%) | #0fdc261a | |
rgb(15, 220, 38, 20%) | #0fdc2633 | |
rgb(15, 220, 38, 40%) | #0fdc264C | |
rgb(15, 220, 38, 60%) | #0fdc2699 | |
rgb(15, 220, 38, 80%) | #0fdc26CC | |
rgb(15, 220, 38, 100%) | #0fdc26FF |
Saturated and desaturated colors of #0fdc26
HSL Code | Preview |
---|---|
hsl(127, 10%, 46%) | |
hsl(127, 20%, 46%) | |
hsl(127, 40%, 46%) | |
hsl(127, 60%, 46%) | |
hsl(127, 80%, 46%) | |
hsl(127, 100%, 46%) |
#0fdc26 Color Usage In CSS
body { color: #0fdc26; } p { color: rgb(15, 220, 38); } header { border-bottom:1px solid #0fdc26; }