Random Color Generator

#6b5dfb Color

Color Codes
Hex Code #6b5dfb
RGB Code rgb(107, 93, 251)
HSL Code hsl(245, 95%, 67%)

#6b5dfb Color Syntax

rgb()

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

 main {
    background-color: rgb(107, 93, 251);
   }

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(245, 95%, 67%);
  }

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

RGB Code Hex Code Preview
rgb(107, 93, 251, 10%) #6b5dfb1a  
rgb(107, 93, 251, 20%) #6b5dfb33  
rgb(107, 93, 251, 40%) #6b5dfb4C  
rgb(107, 93, 251, 60%) #6b5dfb99  
rgb(107, 93, 251, 80%) #6b5dfbCC  
rgb(107, 93, 251, 100%) #6b5dfbFF  

Saturated and desaturated colors of #6b5dfb

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

#6b5dfb Color Usage In CSS

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