Random Color Generator

#6c007d Color

Color Codes
Hex Code #6c007d
RGB Code rgb(108, 00, 125)
HSL Code hsl(292, 100%, 25%)

#6c007d Color Syntax

rgb()

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

 main {
    background-color: rgb(108, 00, 125);
   }

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(292, 100%, 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 #6c007d

RGB Code Hex Code Preview
rgb(108, 00, 125, 10%) #6c007d1a  
rgb(108, 00, 125, 20%) #6c007d33  
rgb(108, 00, 125, 40%) #6c007d4C  
rgb(108, 00, 125, 60%) #6c007d99  
rgb(108, 00, 125, 80%) #6c007dCC  
rgb(108, 00, 125, 100%) #6c007dFF  

Saturated and desaturated colors of #6c007d

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

#6c007d Color Usage In CSS

 body {
    color: #6c007d;
    }
 p {
    color: rgb(108, 00, 125);
    }
 header {
    border-bottom:1px solid #6c007d;
    }
Recent Random Colors