Random Color Generator

#5e6cc0 Color

Color Codes
Hex Code #5e6cc0
RGB Code rgb(94, 108, 192)
HSL Code hsl(231, 44%, 56%)

#5e6cc0 Color Syntax

rgb()

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

 main {
    background-color: rgb(94, 108, 192);
   }

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(231, 44%, 56%);
  }

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

RGB Code Hex Code Preview
rgb(94, 108, 192, 10%) #5e6cc01a  
rgb(94, 108, 192, 20%) #5e6cc033  
rgb(94, 108, 192, 40%) #5e6cc04C  
rgb(94, 108, 192, 60%) #5e6cc099  
rgb(94, 108, 192, 80%) #5e6cc0CC  
rgb(94, 108, 192, 100%) #5e6cc0FF  

Saturated and desaturated colors of #5e6cc0

HSL Code Preview
hsl(231, 10%, 56%)  
hsl(231, 20%, 56%)  
hsl(231, 40%, 56%)  
hsl(231, 60%, 56%)  
hsl(231, 80%, 56%)  
hsl(231, 100%, 56%)  

#5e6cc0 Color Usage In CSS

 body {
    color: #5e6cc0;
    }
 p {
    color: rgb(94, 108, 192);
    }
 header {
    border-bottom:1px solid #5e6cc0;
    }
Recent Random Colors