Random Color Generator

#4e4bc0 Color

Color Codes
Hex Code #4e4bc0
RGB Code rgb(78, 75, 192)
HSL Code hsl(242, 48%, 52%)

#4e4bc0 Color Syntax

rgb()

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

 main {
    background-color: rgb(78, 75, 192);
   }

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(242, 48%, 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 #4e4bc0

RGB Code Hex Code Preview
rgb(78, 75, 192, 10%) #4e4bc01a  
rgb(78, 75, 192, 20%) #4e4bc033  
rgb(78, 75, 192, 40%) #4e4bc04C  
rgb(78, 75, 192, 60%) #4e4bc099  
rgb(78, 75, 192, 80%) #4e4bc0CC  
rgb(78, 75, 192, 100%) #4e4bc0FF  

Saturated and desaturated colors of #4e4bc0

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

#4e4bc0 Color Usage In CSS

 body {
    color: #4e4bc0;
    }
 p {
    color: rgb(78, 75, 192);
    }
 header {
    border-bottom:1px solid #4e4bc0;
    }
Recent Random Colors