Random Color Generator

#6a003e Color

Color Codes
Hex Code #6a003e
RGB Code rgb(106, 00, 62)
HSL Code hsl(325, 100%, 21%)

#6a003e Color Syntax

rgb()

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

 main {
    background-color: rgb(106, 00, 62);
   }

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(325, 100%, 21%);
  }

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

RGB Code Hex Code Preview
rgb(106, 00, 62, 10%) #6a003e1a  
rgb(106, 00, 62, 20%) #6a003e33  
rgb(106, 00, 62, 40%) #6a003e4C  
rgb(106, 00, 62, 60%) #6a003e99  
rgb(106, 00, 62, 80%) #6a003eCC  
rgb(106, 00, 62, 100%) #6a003eFF  

Saturated and desaturated colors of #6a003e

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

#6a003e Color Usage In CSS

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