Random Color Generator

#742cc1 Color

Color Codes
Hex Code #742cc1
RGB Code rgb(116, 44, 193)
HSL Code hsl(269, 63%, 46%)

#742cc1 Color Syntax

rgb()

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

 main {
    background-color: rgb(116, 44, 193);
   }

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(269, 63%, 46%);
  }

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 #742cc1

RGB Code Hex Code Preview
rgb(116, 44, 193, 10%) #742cc11a  
rgb(116, 44, 193, 20%) #742cc133  
rgb(116, 44, 193, 40%) #742cc14C  
rgb(116, 44, 193, 60%) #742cc199  
rgb(116, 44, 193, 80%) #742cc1CC  
rgb(116, 44, 193, 100%) #742cc1FF  

Saturated and desaturated colors of #742cc1

HSL Code Preview
hsl(269, 10%, 46%)  
hsl(269, 20%, 46%)  
hsl(269, 40%, 46%)  
hsl(269, 60%, 46%)  
hsl(269, 80%, 46%)  
hsl(269, 100%, 46%)  

#742cc1 Color Usage In CSS

 body {
    color: #742cc1;
    }
 p {
    color: rgb(116, 44, 193);
    }
 header {
    border-bottom:1px solid #742cc1;
    }
Recent Random Colors