Random Color Generator

#4746be Color

Color Codes
Hex Code #4746be
RGB Code rgb(71, 70, 190)
HSL Code hsl(241, 48%, 51%)

#4746be Color Syntax

rgb()

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

 main {
    background-color: rgb(71, 70, 190);
   }

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(241, 48%, 51%);
  }

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 #4746be

RGB Code Hex Code Preview
rgb(71, 70, 190, 10%) #4746be1a  
rgb(71, 70, 190, 20%) #4746be33  
rgb(71, 70, 190, 40%) #4746be4C  
rgb(71, 70, 190, 60%) #4746be99  
rgb(71, 70, 190, 80%) #4746beCC  
rgb(71, 70, 190, 100%) #4746beFF  

Saturated and desaturated colors of #4746be

HSL Code Preview
hsl(241, 10%, 51%)  
hsl(241, 20%, 51%)  
hsl(241, 40%, 51%)  
hsl(241, 60%, 51%)  
hsl(241, 80%, 51%)  
hsl(241, 100%, 51%)  

#4746be Color Usage In CSS

 body {
    color: #4746be;
    }
 p {
    color: rgb(71, 70, 190);
    }
 header {
    border-bottom:1px solid #4746be;
    }
Recent Random Colors