Random Color Generator

#6f2cb5 Color

Color Codes
Hex Code #6f2cb5
RGB Code rgb(111, 44, 181)
HSL Code hsl(269, 61%, 44%)

#6f2cb5 Color Syntax

rgb()

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

 main {
    background-color: rgb(111, 44, 181);
   }

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(269, 61%, 44%);
  }

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

RGB Code Hex Code Preview
rgb(111, 44, 181, 10%) #6f2cb51a  
rgb(111, 44, 181, 20%) #6f2cb533  
rgb(111, 44, 181, 40%) #6f2cb54C  
rgb(111, 44, 181, 60%) #6f2cb599  
rgb(111, 44, 181, 80%) #6f2cb5CC  
rgb(111, 44, 181, 100%) #6f2cb5FF  

Saturated and desaturated colors of #6f2cb5

HSL Code Preview
hsl(269, 10%, 44%)  
hsl(269, 20%, 44%)  
hsl(269, 40%, 44%)  
hsl(269, 60%, 44%)  
hsl(269, 80%, 44%)  
hsl(269, 100%, 44%)  

#6f2cb5 Color Usage In CSS

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