Random Color Generator

#4a5860 Color

Color Codes
Hex Code #4a5860
RGB Code rgb(74, 88, 96)
HSL Code hsl(202, 13%, 33%)

#4a5860 Color Syntax

rgb()

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

 main {
    background-color: rgb(74, 88, 96);
   }

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(202, 13%, 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 #4a5860

RGB Code Hex Code Preview
rgb(74, 88, 96, 10%) #4a58601a  
rgb(74, 88, 96, 20%) #4a586033  
rgb(74, 88, 96, 40%) #4a58604C  
rgb(74, 88, 96, 60%) #4a586099  
rgb(74, 88, 96, 80%) #4a5860CC  
rgb(74, 88, 96, 100%) #4a5860FF  

Saturated and desaturated colors of #4a5860

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

#4a5860 Color Usage In CSS

 body {
    color: #4a5860;
    }
 p {
    color: rgb(74, 88, 96);
    }
 header {
    border-bottom:1px solid #4a5860;
    }
Recent Random Colors