Random Color Generator

#3a47be Color

Color Codes
Hex Code #3a47be
RGB Code rgb(58, 71, 190)
HSL Code hsl(234, 53%, 49%)

#3a47be Color Syntax

rgb()

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

 main {
    background-color: rgb(58, 71, 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(234, 53%, 49%);
  }

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 #3a47be

RGB Code Hex Code Preview
rgb(58, 71, 190, 10%) #3a47be1a  
rgb(58, 71, 190, 20%) #3a47be33  
rgb(58, 71, 190, 40%) #3a47be4C  
rgb(58, 71, 190, 60%) #3a47be99  
rgb(58, 71, 190, 80%) #3a47beCC  
rgb(58, 71, 190, 100%) #3a47beFF  

Saturated and desaturated colors of #3a47be

HSL Code Preview
hsl(234, 10%, 49%)  
hsl(234, 20%, 49%)  
hsl(234, 40%, 49%)  
hsl(234, 60%, 49%)  
hsl(234, 80%, 49%)  
hsl(234, 100%, 49%)  

#3a47be Color Usage In CSS

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