Random Color Generator

#4d6585 Color

Color Codes
Hex Code #4d6585
RGB Code rgb(77, 101, 133)
HSL Code hsl(214, 27%, 41%)

#4d6585 Color Syntax

rgb()

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

 main {
    background-color: rgb(77, 101, 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(214, 27%, 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 #4d6585

RGB Code Hex Code Preview
rgb(77, 101, 133, 10%) #4d65851a  
rgb(77, 101, 133, 20%) #4d658533  
rgb(77, 101, 133, 40%) #4d65854C  
rgb(77, 101, 133, 60%) #4d658599  
rgb(77, 101, 133, 80%) #4d6585CC  
rgb(77, 101, 133, 100%) #4d6585FF  

Saturated and desaturated colors of #4d6585

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

#4d6585 Color Usage In CSS

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