Random Color Generator

#3b1767 Color

Color Codes
Hex Code #3b1767
RGB Code rgb(59, 23, 103)
HSL Code hsl(267, 63%, 25%)

#3b1767 Color Syntax

rgb()

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

 main {
    background-color: rgb(59, 23, 103);
   }

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(267, 63%, 25%);
  }

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

RGB Code Hex Code Preview
rgb(59, 23, 103, 10%) #3b17671a  
rgb(59, 23, 103, 20%) #3b176733  
rgb(59, 23, 103, 40%) #3b17674C  
rgb(59, 23, 103, 60%) #3b176799  
rgb(59, 23, 103, 80%) #3b1767CC  
rgb(59, 23, 103, 100%) #3b1767FF  

Saturated and desaturated colors of #3b1767

HSL Code Preview
hsl(267, 10%, 25%)  
hsl(267, 20%, 25%)  
hsl(267, 40%, 25%)  
hsl(267, 60%, 25%)  
hsl(267, 80%, 25%)  
hsl(267, 100%, 25%)  

#3b1767 Color Usage In CSS

 body {
    color: #3b1767;
    }
 p {
    color: rgb(59, 23, 103);
    }
 header {
    border-bottom:1px solid #3b1767;
    }
Recent Random Colors