#2daa01 Color
Color Codes | |
---|---|
Hex Code | #2daa01 |
RGB Code | rgb(45, 170, 01) |
HSL Code | hsl(104, 99%, 34%) |
#2daa01 Color Syntax
rgb()
rgb(Red, Green, Blue); rgba(Red, Green, Blue, Alpha); main { background-color: rgb(45, 170, 01); }
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(104, 99%, 34%); }
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 #2daa01
RGB Code | Hex Code | Preview |
---|---|---|
rgb(45, 170, 01, 10%) | #2daa011a | |
rgb(45, 170, 01, 20%) | #2daa0133 | |
rgb(45, 170, 01, 40%) | #2daa014C | |
rgb(45, 170, 01, 60%) | #2daa0199 | |
rgb(45, 170, 01, 80%) | #2daa01CC | |
rgb(45, 170, 01, 100%) | #2daa01FF |
Saturated and desaturated colors of #2daa01
HSL Code | Preview |
---|---|
hsl(104, 10%, 34%) | |
hsl(104, 20%, 34%) | |
hsl(104, 40%, 34%) | |
hsl(104, 60%, 34%) | |
hsl(104, 80%, 34%) | |
hsl(104, 100%, 34%) |
#2daa01 Color Usage In CSS
body { color: #2daa01; } p { color: rgb(45, 170, 01); } header { border-bottom:1px solid #2daa01; }