Random Color Generator

#4d7b83 Color

Color Codes
Hex Code #4d7b83
RGB Code rgb(77, 123, 131)
HSL Code hsl(189, 26%, 41%)

#4d7b83 Color Syntax

rgb()

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

 main {
    background-color: rgb(77, 123, 131);
   }

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(189, 26%, 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 #4d7b83

RGB Code Hex Code Preview
rgb(77, 123, 131, 10%) #4d7b831a  
rgb(77, 123, 131, 20%) #4d7b8333  
rgb(77, 123, 131, 40%) #4d7b834C  
rgb(77, 123, 131, 60%) #4d7b8399  
rgb(77, 123, 131, 80%) #4d7b83CC  
rgb(77, 123, 131, 100%) #4d7b83FF  

Saturated and desaturated colors of #4d7b83

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

#4d7b83 Color Usage In CSS

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