Random Color Generator

#3742ec Color

Color Codes
Hex Code #3742ec
RGB Code rgb(55, 66, 236)
HSL Code hsl(236, 83%, 57%)

#3742ec Color Syntax

rgb()

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

 main {
    background-color: rgb(55, 66, 236);
   }

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(236, 83%, 57%);
  }

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 #3742ec

RGB Code Hex Code Preview
rgb(55, 66, 236, 10%) #3742ec1a  
rgb(55, 66, 236, 20%) #3742ec33  
rgb(55, 66, 236, 40%) #3742ec4C  
rgb(55, 66, 236, 60%) #3742ec99  
rgb(55, 66, 236, 80%) #3742ecCC  
rgb(55, 66, 236, 100%) #3742ecFF  

Saturated and desaturated colors of #3742ec

HSL Code Preview
hsl(236, 10%, 57%)  
hsl(236, 20%, 57%)  
hsl(236, 40%, 57%)  
hsl(236, 60%, 57%)  
hsl(236, 80%, 57%)  
hsl(236, 100%, 57%)  

#3742ec Color Usage In CSS

 body {
    color: #3742ec;
    }
 p {
    color: rgb(55, 66, 236);
    }
 header {
    border-bottom:1px solid #3742ec;
    }
Recent Random Colors