Random Color Generator

#5e70f6 Color

Color Codes
Hex Code #5e70f6
RGB Code rgb(94, 112, 246)
HSL Code hsl(233, 89%, 67%)

#5e70f6 Color Syntax

rgb()

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

 main {
    background-color: rgb(94, 112, 246);
   }

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(233, 89%, 67%);
  }

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

RGB Code Hex Code Preview
rgb(94, 112, 246, 10%) #5e70f61a  
rgb(94, 112, 246, 20%) #5e70f633  
rgb(94, 112, 246, 40%) #5e70f64C  
rgb(94, 112, 246, 60%) #5e70f699  
rgb(94, 112, 246, 80%) #5e70f6CC  
rgb(94, 112, 246, 100%) #5e70f6FF  

Saturated and desaturated colors of #5e70f6

HSL Code Preview
hsl(233, 10%, 67%)  
hsl(233, 20%, 67%)  
hsl(233, 40%, 67%)  
hsl(233, 60%, 67%)  
hsl(233, 80%, 67%)  
hsl(233, 100%, 67%)  

#5e70f6 Color Usage In CSS

 body {
    color: #5e70f6;
    }
 p {
    color: rgb(94, 112, 246);
    }
 header {
    border-bottom:1px solid #5e70f6;
    }
Recent Random Colors