Random Color Generator

#3e0956 Color

Color Codes
Hex Code #3e0956
RGB Code rgb(62, 09, 86)
HSL Code hsl(281, 81%, 19%)

#3e0956 Color Syntax

rgb()

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

 main {
    background-color: rgb(62, 09, 86);
   }

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(281, 81%, 19%);
  }

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

RGB Code Hex Code Preview
rgb(62, 09, 86, 10%) #3e09561a  
rgb(62, 09, 86, 20%) #3e095633  
rgb(62, 09, 86, 40%) #3e09564C  
rgb(62, 09, 86, 60%) #3e095699  
rgb(62, 09, 86, 80%) #3e0956CC  
rgb(62, 09, 86, 100%) #3e0956FF  

Saturated and desaturated colors of #3e0956

HSL Code Preview
hsl(281, 10%, 19%)  
hsl(281, 20%, 19%)  
hsl(281, 40%, 19%)  
hsl(281, 60%, 19%)  
hsl(281, 80%, 19%)  
hsl(281, 100%, 19%)  

#3e0956 Color Usage In CSS

 body {
    color: #3e0956;
    }
 p {
    color: rgb(62, 09, 86);
    }
 header {
    border-bottom:1px solid #3e0956;
    }
Recent Random Colors