Random Color Generator

#492cbd Color

Color Codes
Hex Code #492cbd
RGB Code rgb(73, 44, 189)
HSL Code hsl(252, 62%, 46%)

#492cbd Color Syntax

rgb()

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

 main {
    background-color: rgb(73, 44, 189);
   }

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(252, 62%, 46%);
  }

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 #492cbd

RGB Code Hex Code Preview
rgb(73, 44, 189, 10%) #492cbd1a  
rgb(73, 44, 189, 20%) #492cbd33  
rgb(73, 44, 189, 40%) #492cbd4C  
rgb(73, 44, 189, 60%) #492cbd99  
rgb(73, 44, 189, 80%) #492cbdCC  
rgb(73, 44, 189, 100%) #492cbdFF  

Saturated and desaturated colors of #492cbd

HSL Code Preview
hsl(252, 10%, 46%)  
hsl(252, 20%, 46%)  
hsl(252, 40%, 46%)  
hsl(252, 60%, 46%)  
hsl(252, 80%, 46%)  
hsl(252, 100%, 46%)  

#492cbd Color Usage In CSS

 body {
    color: #492cbd;
    }
 p {
    color: rgb(73, 44, 189);
    }
 header {
    border-bottom:1px solid #492cbd;
    }
Recent Random Colors