Random Color Generator

#5381eb Color

Color Codes
Hex Code #5381eb
RGB Code rgb(83, 129, 235)
HSL Code hsl(222, 79%, 62%)

#5381eb Color Syntax

rgb()

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

 main {
    background-color: rgb(83, 129, 235);
   }

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(222, 79%, 62%);
  }

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 #5381eb

RGB Code Hex Code Preview
rgb(83, 129, 235, 10%) #5381eb1a  
rgb(83, 129, 235, 20%) #5381eb33  
rgb(83, 129, 235, 40%) #5381eb4C  
rgb(83, 129, 235, 60%) #5381eb99  
rgb(83, 129, 235, 80%) #5381ebCC  
rgb(83, 129, 235, 100%) #5381ebFF  

Saturated and desaturated colors of #5381eb

HSL Code Preview
hsl(222, 10%, 62%)  
hsl(222, 20%, 62%)  
hsl(222, 40%, 62%)  
hsl(222, 60%, 62%)  
hsl(222, 80%, 62%)  
hsl(222, 100%, 62%)  

#5381eb Color Usage In CSS

 body {
    color: #5381eb;
    }
 p {
    color: rgb(83, 129, 235);
    }
 header {
    border-bottom:1px solid #5381eb;
    }
Recent Random Colors