Random Color Generator

#4d4c9d Color

Color Codes
Hex Code #4d4c9d
RGB Code rgb(77, 76, 157)
HSL Code hsl(241, 35%, 46%)

#4d4c9d Color Syntax

rgb()

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

 main {
    background-color: rgb(77, 76, 157);
   }

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(241, 35%, 46%);
  }

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

RGB Code Hex Code Preview
rgb(77, 76, 157, 10%) #4d4c9d1a  
rgb(77, 76, 157, 20%) #4d4c9d33  
rgb(77, 76, 157, 40%) #4d4c9d4C  
rgb(77, 76, 157, 60%) #4d4c9d99  
rgb(77, 76, 157, 80%) #4d4c9dCC  
rgb(77, 76, 157, 100%) #4d4c9dFF  

Saturated and desaturated colors of #4d4c9d

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

#4d4c9d Color Usage In CSS

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