Random Color Generator

#3a7061 Color

Color Codes
Hex Code #3a7061
RGB Code rgb(58, 112, 97)
HSL Code hsl(163, 32%, 33%)

#3a7061 Color Syntax

rgb()

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

 main {
    background-color: rgb(58, 112, 97);
   }

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(163, 32%, 33%);
  }

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 #3a7061

RGB Code Hex Code Preview
rgb(58, 112, 97, 10%) #3a70611a  
rgb(58, 112, 97, 20%) #3a706133  
rgb(58, 112, 97, 40%) #3a70614C  
rgb(58, 112, 97, 60%) #3a706199  
rgb(58, 112, 97, 80%) #3a7061CC  
rgb(58, 112, 97, 100%) #3a7061FF  

Saturated and desaturated colors of #3a7061

HSL Code Preview
hsl(163, 10%, 33%)  
hsl(163, 20%, 33%)  
hsl(163, 40%, 33%)  
hsl(163, 60%, 33%)  
hsl(163, 80%, 33%)  
hsl(163, 100%, 33%)  

#3a7061 Color Usage In CSS

 body {
    color: #3a7061;
    }
 p {
    color: rgb(58, 112, 97);
    }
 header {
    border-bottom:1px solid #3a7061;
    }
Recent Random Colors