Random Color Generator

#5d66d1 Color

Color Codes
Hex Code #5d66d1
RGB Code rgb(93, 102, 209)
HSL Code hsl(235, 56%, 59%)

#5d66d1 Color Syntax

rgb()

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

 main {
    background-color: rgb(93, 102, 209);
   }

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(235, 56%, 59%);
  }

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 #5d66d1

RGB Code Hex Code Preview
rgb(93, 102, 209, 10%) #5d66d11a  
rgb(93, 102, 209, 20%) #5d66d133  
rgb(93, 102, 209, 40%) #5d66d14C  
rgb(93, 102, 209, 60%) #5d66d199  
rgb(93, 102, 209, 80%) #5d66d1CC  
rgb(93, 102, 209, 100%) #5d66d1FF  

Saturated and desaturated colors of #5d66d1

HSL Code Preview
hsl(235, 10%, 59%)  
hsl(235, 20%, 59%)  
hsl(235, 40%, 59%)  
hsl(235, 60%, 59%)  
hsl(235, 80%, 59%)  
hsl(235, 100%, 59%)  

#5d66d1 Color Usage In CSS

 body {
    color: #5d66d1;
    }
 p {
    color: rgb(93, 102, 209);
    }
 header {
    border-bottom:1px solid #5d66d1;
    }
Recent Random Colors