Random Color Generator

#6f01ab Color

Color Codes
Hex Code #6f01ab
RGB Code rgb(111, 01, 171)
HSL Code hsl(279, 99%, 34%)

#6f01ab Color Syntax

rgb()

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

 main {
    background-color: rgb(111, 01, 171);
   }

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(279, 99%, 34%);
  }

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

RGB Code Hex Code Preview
rgb(111, 01, 171, 10%) #6f01ab1a  
rgb(111, 01, 171, 20%) #6f01ab33  
rgb(111, 01, 171, 40%) #6f01ab4C  
rgb(111, 01, 171, 60%) #6f01ab99  
rgb(111, 01, 171, 80%) #6f01abCC  
rgb(111, 01, 171, 100%) #6f01abFF  

Saturated and desaturated colors of #6f01ab

HSL Code Preview
hsl(279, 10%, 34%)  
hsl(279, 20%, 34%)  
hsl(279, 40%, 34%)  
hsl(279, 60%, 34%)  
hsl(279, 80%, 34%)  
hsl(279, 100%, 34%)  

#6f01ab Color Usage In CSS

 body {
    color: #6f01ab;
    }
 p {
    color: rgb(111, 01, 171);
    }
 header {
    border-bottom:1px solid #6f01ab;
    }
Recent Random Colors