Random Color Generator

#6665a1 Color

Color Codes
Hex Code #6665a1
RGB Code rgb(102, 101, 161)
HSL Code hsl(241, 24%, 51%)

#6665a1 Color Syntax

rgb()

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

 main {
    background-color: rgb(102, 101, 161);
   }

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(241, 24%, 51%);
  }

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 #6665a1

RGB Code Hex Code Preview
rgb(102, 101, 161, 10%) #6665a11a  
rgb(102, 101, 161, 20%) #6665a133  
rgb(102, 101, 161, 40%) #6665a14C  
rgb(102, 101, 161, 60%) #6665a199  
rgb(102, 101, 161, 80%) #6665a1CC  
rgb(102, 101, 161, 100%) #6665a1FF  

Saturated and desaturated colors of #6665a1

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

#6665a1 Color Usage In CSS

 body {
    color: #6665a1;
    }
 p {
    color: rgb(102, 101, 161);
    }
 header {
    border-bottom:1px solid #6665a1;
    }
Recent Random Colors