Random Color Generator

#741cef Color

Color Codes
Hex Code #741cef
RGB Code rgb(116, 28, 239)
HSL Code hsl(265, 87%, 52%)

#741cef Color Syntax

rgb()

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

 main {
    background-color: rgb(116, 28, 239);
   }

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(265, 87%, 52%);
  }

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 #741cef

RGB Code Hex Code Preview
rgb(116, 28, 239, 10%) #741cef1a  
rgb(116, 28, 239, 20%) #741cef33  
rgb(116, 28, 239, 40%) #741cef4C  
rgb(116, 28, 239, 60%) #741cef99  
rgb(116, 28, 239, 80%) #741cefCC  
rgb(116, 28, 239, 100%) #741cefFF  

Saturated and desaturated colors of #741cef

HSL Code Preview
hsl(265, 10%, 52%)  
hsl(265, 20%, 52%)  
hsl(265, 40%, 52%)  
hsl(265, 60%, 52%)  
hsl(265, 80%, 52%)  
hsl(265, 100%, 52%)  

#741cef Color Usage In CSS

 body {
    color: #741cef;
    }
 p {
    color: rgb(116, 28, 239);
    }
 header {
    border-bottom:1px solid #741cef;
    }
Recent Random Colors