Random Color Generator

#5d81eb Color

Color Codes
Hex Code #5d81eb
RGB Code rgb(93, 129, 235)
HSL Code hsl(225, 78%, 64%)

#5d81eb Color Syntax

rgb()

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

 main {
    background-color: rgb(93, 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(225, 78%, 64%);
  }

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

RGB Code Hex Code Preview
rgb(93, 129, 235, 10%) #5d81eb1a  
rgb(93, 129, 235, 20%) #5d81eb33  
rgb(93, 129, 235, 40%) #5d81eb4C  
rgb(93, 129, 235, 60%) #5d81eb99  
rgb(93, 129, 235, 80%) #5d81ebCC  
rgb(93, 129, 235, 100%) #5d81ebFF  

Saturated and desaturated colors of #5d81eb

HSL Code Preview
hsl(225, 10%, 64%)  
hsl(225, 20%, 64%)  
hsl(225, 40%, 64%)  
hsl(225, 60%, 64%)  
hsl(225, 80%, 64%)  
hsl(225, 100%, 64%)  

#5d81eb Color Usage In CSS

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