Random Color Generator

#4e96fa Color

Color Codes
Hex Code #4e96fa
RGB Code rgb(78, 150, 250)
HSL Code hsl(215, 95%, 64%)

#4e96fa Color Syntax

rgb()

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

 main {
    background-color: rgb(78, 150, 250);
   }

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(215, 95%, 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 #4e96fa

RGB Code Hex Code Preview
rgb(78, 150, 250, 10%) #4e96fa1a  
rgb(78, 150, 250, 20%) #4e96fa33  
rgb(78, 150, 250, 40%) #4e96fa4C  
rgb(78, 150, 250, 60%) #4e96fa99  
rgb(78, 150, 250, 80%) #4e96faCC  
rgb(78, 150, 250, 100%) #4e96faFF  

Saturated and desaturated colors of #4e96fa

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

#4e96fa Color Usage In CSS

 body {
    color: #4e96fa;
    }
 p {
    color: rgb(78, 150, 250);
    }
 header {
    border-bottom:1px solid #4e96fa;
    }
Recent Random Colors