Random Color Generator

#6b72ba Color

Color Codes
Hex Code #6b72ba
RGB Code rgb(107, 114, 186)
HSL Code hsl(235, 36%, 57%)

#6b72ba Color Syntax

rgb()

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

 main {
    background-color: rgb(107, 114, 186);
   }

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(235, 36%, 57%);
  }

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

RGB Code Hex Code Preview
rgb(107, 114, 186, 10%) #6b72ba1a  
rgb(107, 114, 186, 20%) #6b72ba33  
rgb(107, 114, 186, 40%) #6b72ba4C  
rgb(107, 114, 186, 60%) #6b72ba99  
rgb(107, 114, 186, 80%) #6b72baCC  
rgb(107, 114, 186, 100%) #6b72baFF  

Saturated and desaturated colors of #6b72ba

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

#6b72ba Color Usage In CSS

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