Random Color Generator

#49256c Color

Color Codes
Hex Code #49256c
RGB Code rgb(73, 37, 108)
HSL Code hsl(270, 49%, 28%)

#49256c Color Syntax

rgb()

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

 main {
    background-color: rgb(73, 37, 108);
   }

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(270, 49%, 28%);
  }

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 #49256c

RGB Code Hex Code Preview
rgb(73, 37, 108, 10%) #49256c1a  
rgb(73, 37, 108, 20%) #49256c33  
rgb(73, 37, 108, 40%) #49256c4C  
rgb(73, 37, 108, 60%) #49256c99  
rgb(73, 37, 108, 80%) #49256cCC  
rgb(73, 37, 108, 100%) #49256cFF  

Saturated and desaturated colors of #49256c

HSL Code Preview
hsl(270, 10%, 28%)  
hsl(270, 20%, 28%)  
hsl(270, 40%, 28%)  
hsl(270, 60%, 28%)  
hsl(270, 80%, 28%)  
hsl(270, 100%, 28%)  

#49256c Color Usage In CSS

 body {
    color: #49256c;
    }
 p {
    color: rgb(73, 37, 108);
    }
 header {
    border-bottom:1px solid #49256c;
    }
Recent Random Colors