Random Color Generator

#5650ad Color

Color Codes
Hex Code #5650ad
RGB Code rgb(86, 80, 173)
HSL Code hsl(244, 37%, 50%)

#5650ad Color Syntax

rgb()

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

 main {
    background-color: rgb(86, 80, 173);
   }

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(244, 37%, 50%);
  }

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 #5650ad

RGB Code Hex Code Preview
rgb(86, 80, 173, 10%) #5650ad1a  
rgb(86, 80, 173, 20%) #5650ad33  
rgb(86, 80, 173, 40%) #5650ad4C  
rgb(86, 80, 173, 60%) #5650ad99  
rgb(86, 80, 173, 80%) #5650adCC  
rgb(86, 80, 173, 100%) #5650adFF  

Saturated and desaturated colors of #5650ad

HSL Code Preview
hsl(244, 10%, 50%)  
hsl(244, 20%, 50%)  
hsl(244, 40%, 50%)  
hsl(244, 60%, 50%)  
hsl(244, 80%, 50%)  
hsl(244, 100%, 50%)  

#5650ad Color Usage In CSS

 body {
    color: #5650ad;
    }
 p {
    color: rgb(86, 80, 173);
    }
 header {
    border-bottom:1px solid #5650ad;
    }
Recent Random Colors