Random Color Generator

#6959a2 Color

Color Codes
Hex Code #6959a2
RGB Code rgb(105, 89, 162)
HSL Code hsl(253, 29%, 49%)

#6959a2 Color Syntax

rgb()

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

 main {
    background-color: rgb(105, 89, 162);
   }

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(253, 29%, 49%);
  }

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 #6959a2

RGB Code Hex Code Preview
rgb(105, 89, 162, 10%) #6959a21a  
rgb(105, 89, 162, 20%) #6959a233  
rgb(105, 89, 162, 40%) #6959a24C  
rgb(105, 89, 162, 60%) #6959a299  
rgb(105, 89, 162, 80%) #6959a2CC  
rgb(105, 89, 162, 100%) #6959a2FF  

Saturated and desaturated colors of #6959a2

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

#6959a2 Color Usage In CSS

 body {
    color: #6959a2;
    }
 p {
    color: rgb(105, 89, 162);
    }
 header {
    border-bottom:1px solid #6959a2;
    }
Recent Random Colors