Random Color Generator

#4c6579 Color

Color Codes
Hex Code #4c6579
RGB Code rgb(76, 101, 121)
HSL Code hsl(207, 23%, 39%)

#4c6579 Color Syntax

rgb()

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

 main {
    background-color: rgb(76, 101, 121);
   }

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(207, 23%, 39%);
  }

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

RGB Code Hex Code Preview
rgb(76, 101, 121, 10%) #4c65791a  
rgb(76, 101, 121, 20%) #4c657933  
rgb(76, 101, 121, 40%) #4c65794C  
rgb(76, 101, 121, 60%) #4c657999  
rgb(76, 101, 121, 80%) #4c6579CC  
rgb(76, 101, 121, 100%) #4c6579FF  

Saturated and desaturated colors of #4c6579

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

#4c6579 Color Usage In CSS

 body {
    color: #4c6579;
    }
 p {
    color: rgb(76, 101, 121);
    }
 header {
    border-bottom:1px solid #4c6579;
    }
Recent Random Colors