Random Color Generator

#6e01cb Color

Color Codes
Hex Code #6e01cb
RGB Code rgb(110, 01, 203)
HSL Code hsl(272, 99%, 40%)

#6e01cb Color Syntax

rgb()

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

 main {
    background-color: rgb(110, 01, 203);
   }

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(272, 99%, 40%);
  }

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

RGB Code Hex Code Preview
rgb(110, 01, 203, 10%) #6e01cb1a  
rgb(110, 01, 203, 20%) #6e01cb33  
rgb(110, 01, 203, 40%) #6e01cb4C  
rgb(110, 01, 203, 60%) #6e01cb99  
rgb(110, 01, 203, 80%) #6e01cbCC  
rgb(110, 01, 203, 100%) #6e01cbFF  

Saturated and desaturated colors of #6e01cb

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

#6e01cb Color Usage In CSS

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