Random Color Generator

#42916a Color

Color Codes
Hex Code #42916a
RGB Code rgb(66, 145, 106)
HSL Code hsl(150, 37%, 41%)

#42916a Color Syntax

rgb()

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

 main {
    background-color: rgb(66, 145, 106);
   }

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(150, 37%, 41%);
  }

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 #42916a

RGB Code Hex Code Preview
rgb(66, 145, 106, 10%) #42916a1a  
rgb(66, 145, 106, 20%) #42916a33  
rgb(66, 145, 106, 40%) #42916a4C  
rgb(66, 145, 106, 60%) #42916a99  
rgb(66, 145, 106, 80%) #42916aCC  
rgb(66, 145, 106, 100%) #42916aFF  

Saturated and desaturated colors of #42916a

HSL Code Preview
hsl(150, 10%, 41%)  
hsl(150, 20%, 41%)  
hsl(150, 40%, 41%)  
hsl(150, 60%, 41%)  
hsl(150, 80%, 41%)  
hsl(150, 100%, 41%)  

#42916a Color Usage In CSS

 body {
    color: #42916a;
    }
 p {
    color: rgb(66, 145, 106);
    }
 header {
    border-bottom:1px solid #42916a;
    }
Recent Random Colors