#1ada31 Color
Color Codes | |
---|---|
Hex Code | #1ada31 |
RGB Code | rgb(26, 218, 49) |
HSL Code | hsl(127, 79%, 48%) |
#1ada31 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(26, 218, 49); }
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, 79%, 48%); }
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 #1ada31
RGB Code | Hex Code | Preview |
---|---|---|
rgb(26, 218, 49, 10%) | #1ada311a | |
rgb(26, 218, 49, 20%) | #1ada3133 | |
rgb(26, 218, 49, 40%) | #1ada314C | |
rgb(26, 218, 49, 60%) | #1ada3199 | |
rgb(26, 218, 49, 80%) | #1ada31CC | |
rgb(26, 218, 49, 100%) | #1ada31FF |
Saturated and desaturated colors of #1ada31
HSL Code | Preview |
---|---|
hsl(127, 10%, 48%) | |
hsl(127, 20%, 48%) | |
hsl(127, 40%, 48%) | |
hsl(127, 60%, 48%) | |
hsl(127, 80%, 48%) | |
hsl(127, 100%, 48%) |
#1ada31 Color Usage In CSS
body { color: #1ada31; } p { color: rgb(26, 218, 49); } header { border-bottom:1px solid #1ada31; }