Random Color Generator

#3c0365 Color

Color Codes
Hex Code #3c0365
RGB Code rgb(60, 03, 101)
HSL Code hsl(275, 94%, 20%)

#3c0365 Color Syntax

rgb()

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

 main {
    background-color: rgb(60, 03, 101);
   }

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(275, 94%, 20%);
  }

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

RGB Code Hex Code Preview
rgb(60, 03, 101, 10%) #3c03651a  
rgb(60, 03, 101, 20%) #3c036533  
rgb(60, 03, 101, 40%) #3c03654C  
rgb(60, 03, 101, 60%) #3c036599  
rgb(60, 03, 101, 80%) #3c0365CC  
rgb(60, 03, 101, 100%) #3c0365FF  

Saturated and desaturated colors of #3c0365

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

#3c0365 Color Usage In CSS

 body {
    color: #3c0365;
    }
 p {
    color: rgb(60, 03, 101);
    }
 header {
    border-bottom:1px solid #3c0365;
    }
Recent Random Colors