Random Color Generator

#3d2086 Color

Color Codes
Hex Code #3d2086
RGB Code rgb(61, 32, 134)
HSL Code hsl(257, 61%, 33%)

#3d2086 Color Syntax

rgb()

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

 main {
    background-color: rgb(61, 32, 134);
   }

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(257, 61%, 33%);
  }

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

RGB Code Hex Code Preview
rgb(61, 32, 134, 10%) #3d20861a  
rgb(61, 32, 134, 20%) #3d208633  
rgb(61, 32, 134, 40%) #3d20864C  
rgb(61, 32, 134, 60%) #3d208699  
rgb(61, 32, 134, 80%) #3d2086CC  
rgb(61, 32, 134, 100%) #3d2086FF  

Saturated and desaturated colors of #3d2086

HSL Code Preview
hsl(257, 10%, 33%)  
hsl(257, 20%, 33%)  
hsl(257, 40%, 33%)  
hsl(257, 60%, 33%)  
hsl(257, 80%, 33%)  
hsl(257, 100%, 33%)  

#3d2086 Color Usage In CSS

 body {
    color: #3d2086;
    }
 p {
    color: rgb(61, 32, 134);
    }
 header {
    border-bottom:1px solid #3d2086;
    }
Recent Random Colors