Random Color Generator

#4c1cf3 Color

Color Codes
Hex Code #4c1cf3
RGB Code rgb(76, 28, 243)
HSL Code hsl(253, 90%, 53%)

#4c1cf3 Color Syntax

rgb()

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

 main {
    background-color: rgb(76, 28, 243);
   }

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(253, 90%, 53%);
  }

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

RGB Code Hex Code Preview
rgb(76, 28, 243, 10%) #4c1cf31a  
rgb(76, 28, 243, 20%) #4c1cf333  
rgb(76, 28, 243, 40%) #4c1cf34C  
rgb(76, 28, 243, 60%) #4c1cf399  
rgb(76, 28, 243, 80%) #4c1cf3CC  
rgb(76, 28, 243, 100%) #4c1cf3FF  

Saturated and desaturated colors of #4c1cf3

HSL Code Preview
hsl(253, 10%, 53%)  
hsl(253, 20%, 53%)  
hsl(253, 40%, 53%)  
hsl(253, 60%, 53%)  
hsl(253, 80%, 53%)  
hsl(253, 100%, 53%)  

#4c1cf3 Color Usage In CSS

 body {
    color: #4c1cf3;
    }
 p {
    color: rgb(76, 28, 243);
    }
 header {
    border-bottom:1px solid #4c1cf3;
    }
Recent Random Colors