Random Color Generator

#6b305c Color

Color Codes
Hex Code #6b305c
RGB Code rgb(107, 48, 92)
HSL Code hsl(315, 38%, 30%)

#6b305c Color Syntax

rgb()

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

 main {
    background-color: rgb(107, 48, 92);
   }

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(315, 38%, 30%);
  }

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

RGB Code Hex Code Preview
rgb(107, 48, 92, 10%) #6b305c1a  
rgb(107, 48, 92, 20%) #6b305c33  
rgb(107, 48, 92, 40%) #6b305c4C  
rgb(107, 48, 92, 60%) #6b305c99  
rgb(107, 48, 92, 80%) #6b305cCC  
rgb(107, 48, 92, 100%) #6b305cFF  

Saturated and desaturated colors of #6b305c

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

#6b305c Color Usage In CSS

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