Random Color Generator

#4d4385 Color

Color Codes
Hex Code #4d4385
RGB Code rgb(77, 67, 133)
HSL Code hsl(249, 33%, 39%)

#4d4385 Color Syntax

rgb()

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

 main {
    background-color: rgb(77, 67, 133);
   }

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(249, 33%, 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 #4d4385

RGB Code Hex Code Preview
rgb(77, 67, 133, 10%) #4d43851a  
rgb(77, 67, 133, 20%) #4d438533  
rgb(77, 67, 133, 40%) #4d43854C  
rgb(77, 67, 133, 60%) #4d438599  
rgb(77, 67, 133, 80%) #4d4385CC  
rgb(77, 67, 133, 100%) #4d4385FF  

Saturated and desaturated colors of #4d4385

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

#4d4385 Color Usage In CSS

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