Random Color Generator

#6b1462 Color

Color Codes
Hex Code #6b1462
RGB Code rgb(107, 20, 98)
HSL Code hsl(306, 69%, 25%)

#6b1462 Color Syntax

rgb()

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

 main {
    background-color: rgb(107, 20, 98);
   }

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(306, 69%, 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 #6b1462

RGB Code Hex Code Preview
rgb(107, 20, 98, 10%) #6b14621a  
rgb(107, 20, 98, 20%) #6b146233  
rgb(107, 20, 98, 40%) #6b14624C  
rgb(107, 20, 98, 60%) #6b146299  
rgb(107, 20, 98, 80%) #6b1462CC  
rgb(107, 20, 98, 100%) #6b1462FF  

Saturated and desaturated colors of #6b1462

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

#6b1462 Color Usage In CSS

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