Random Color Generator

#4f7d6a Color

Color Codes
Hex Code #4f7d6a
RGB Code rgb(79, 125, 106)
HSL Code hsl(155, 23%, 40%)

#4f7d6a Color Syntax

rgb()

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

 main {
    background-color: rgb(79, 125, 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(155, 23%, 40%);
  }

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

RGB Code Hex Code Preview
rgb(79, 125, 106, 10%) #4f7d6a1a  
rgb(79, 125, 106, 20%) #4f7d6a33  
rgb(79, 125, 106, 40%) #4f7d6a4C  
rgb(79, 125, 106, 60%) #4f7d6a99  
rgb(79, 125, 106, 80%) #4f7d6aCC  
rgb(79, 125, 106, 100%) #4f7d6aFF  

Saturated and desaturated colors of #4f7d6a

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

#4f7d6a Color Usage In CSS

 body {
    color: #4f7d6a;
    }
 p {
    color: rgb(79, 125, 106);
    }
 header {
    border-bottom:1px solid #4f7d6a;
    }
Recent Random Colors