Random Color Generator

#6b1c75 Color

Color Codes
Hex Code #6b1c75
RGB Code rgb(107, 28, 117)
HSL Code hsl(293, 61%, 28%)

#6b1c75 Color Syntax

rgb()

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

 main {
    background-color: rgb(107, 28, 117);
   }

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(293, 61%, 28%);
  }

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 #6b1c75

RGB Code Hex Code Preview
rgb(107, 28, 117, 10%) #6b1c751a  
rgb(107, 28, 117, 20%) #6b1c7533  
rgb(107, 28, 117, 40%) #6b1c754C  
rgb(107, 28, 117, 60%) #6b1c7599  
rgb(107, 28, 117, 80%) #6b1c75CC  
rgb(107, 28, 117, 100%) #6b1c75FF  

Saturated and desaturated colors of #6b1c75

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

#6b1c75 Color Usage In CSS

 body {
    color: #6b1c75;
    }
 p {
    color: rgb(107, 28, 117);
    }
 header {
    border-bottom:1px solid #6b1c75;
    }
Recent Random Colors