Random Color Generator

#296f40 Color

Color Codes
Hex Code #296f40
RGB Code rgb(41, 111, 64)
HSL Code hsl(140, 46%, 30%)

#296f40 Color Syntax

rgb()

 rgb(Red, Green, Blue);
 rgba(Red, Green, Blue, Alpha);

 main {
    background-color: rgb(41, 111, 64);
   }

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(140, 46%, 30%);
  }

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 #296f40

RGB Code Hex Code Preview
rgb(41, 111, 64, 10%) #296f401a  
rgb(41, 111, 64, 20%) #296f4033  
rgb(41, 111, 64, 40%) #296f404C  
rgb(41, 111, 64, 60%) #296f4099  
rgb(41, 111, 64, 80%) #296f40CC  
rgb(41, 111, 64, 100%) #296f40FF  

Saturated and desaturated colors of #296f40

HSL Code Preview
hsl(140, 10%, 30%)  
hsl(140, 20%, 30%)  
hsl(140, 40%, 30%)  
hsl(140, 60%, 30%)  
hsl(140, 80%, 30%)  
hsl(140, 100%, 30%)  

#296f40 Color Usage In CSS

 body {
    color: #296f40;
    }
 p {
    color: rgb(41, 111, 64);
    }
 header {
    border-bottom:1px solid #296f40;
    }
Recent Random Colors