Random Color Generator

#4da585 Color

Color Codes
Hex Code #4da585
RGB Code rgb(77, 165, 133)
HSL Code hsl(158, 36%, 47%)

#4da585 Color Syntax

rgb()

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

 main {
    background-color: rgb(77, 165, 133);
   }

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(158, 36%, 47%);
  }

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 #4da585

RGB Code Hex Code Preview
rgb(77, 165, 133, 10%) #4da5851a  
rgb(77, 165, 133, 20%) #4da58533  
rgb(77, 165, 133, 40%) #4da5854C  
rgb(77, 165, 133, 60%) #4da58599  
rgb(77, 165, 133, 80%) #4da585CC  
rgb(77, 165, 133, 100%) #4da585FF  

Saturated and desaturated colors of #4da585

HSL Code Preview
hsl(158, 10%, 47%)  
hsl(158, 20%, 47%)  
hsl(158, 40%, 47%)  
hsl(158, 60%, 47%)  
hsl(158, 80%, 47%)  
hsl(158, 100%, 47%)  

#4da585 Color Usage In CSS

 body {
    color: #4da585;
    }
 p {
    color: rgb(77, 165, 133);
    }
 header {
    border-bottom:1px solid #4da585;
    }
Recent Random Colors