Random Color Generator

#5391fd Color

Color Codes
Hex Code #5391fd
RGB Code rgb(83, 145, 253)
HSL Code hsl(218, 98%, 66%)

#5391fd Color Syntax

rgb()

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

 main {
    background-color: rgb(83, 145, 253);
   }

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(218, 98%, 66%);
  }

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 #5391fd

RGB Code Hex Code Preview
rgb(83, 145, 253, 10%) #5391fd1a  
rgb(83, 145, 253, 20%) #5391fd33  
rgb(83, 145, 253, 40%) #5391fd4C  
rgb(83, 145, 253, 60%) #5391fd99  
rgb(83, 145, 253, 80%) #5391fdCC  
rgb(83, 145, 253, 100%) #5391fdFF  

Saturated and desaturated colors of #5391fd

HSL Code Preview
hsl(218, 10%, 66%)  
hsl(218, 20%, 66%)  
hsl(218, 40%, 66%)  
hsl(218, 60%, 66%)  
hsl(218, 80%, 66%)  
hsl(218, 100%, 66%)  

#5391fd Color Usage In CSS

 body {
    color: #5391fd;
    }
 p {
    color: rgb(83, 145, 253);
    }
 header {
    border-bottom:1px solid #5391fd;
    }
Recent Random Colors