Random Color Generator

#4f50c9 Color

Color Codes
Hex Code #4f50c9
RGB Code rgb(79, 80, 201)
HSL Code hsl(240, 53%, 55%)

#4f50c9 Color Syntax

rgb()

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

 main {
    background-color: rgb(79, 80, 201);
   }

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(240, 53%, 55%);
  }

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 #4f50c9

RGB Code Hex Code Preview
rgb(79, 80, 201, 10%) #4f50c91a  
rgb(79, 80, 201, 20%) #4f50c933  
rgb(79, 80, 201, 40%) #4f50c94C  
rgb(79, 80, 201, 60%) #4f50c999  
rgb(79, 80, 201, 80%) #4f50c9CC  
rgb(79, 80, 201, 100%) #4f50c9FF  

Saturated and desaturated colors of #4f50c9

HSL Code Preview
hsl(240, 10%, 55%)  
hsl(240, 20%, 55%)  
hsl(240, 40%, 55%)  
hsl(240, 60%, 55%)  
hsl(240, 80%, 55%)  
hsl(240, 100%, 55%)  

#4f50c9 Color Usage In CSS

 body {
    color: #4f50c9;
    }
 p {
    color: rgb(79, 80, 201);
    }
 header {
    border-bottom:1px solid #4f50c9;
    }
Recent Random Colors