Random Color Generator

#3016c6 Color

Color Codes
Hex Code #3016c6
RGB Code rgb(48, 22, 198)
HSL Code hsl(249, 80%, 43%)

#3016c6 Color Syntax

rgb()

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

 main {
    background-color: rgb(48, 22, 198);
   }

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(249, 80%, 43%);
  }

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 #3016c6

RGB Code Hex Code Preview
rgb(48, 22, 198, 10%) #3016c61a  
rgb(48, 22, 198, 20%) #3016c633  
rgb(48, 22, 198, 40%) #3016c64C  
rgb(48, 22, 198, 60%) #3016c699  
rgb(48, 22, 198, 80%) #3016c6CC  
rgb(48, 22, 198, 100%) #3016c6FF  

Saturated and desaturated colors of #3016c6

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

#3016c6 Color Usage In CSS

 body {
    color: #3016c6;
    }
 p {
    color: rgb(48, 22, 198);
    }
 header {
    border-bottom:1px solid #3016c6;
    }
Recent Random Colors