Random Color Generator

#665cbc Color

Color Codes
Hex Code #665cbc
RGB Code rgb(102, 92, 188)
HSL Code hsl(246, 42%, 55%)

#665cbc Color Syntax

rgb()

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

 main {
    background-color: rgb(102, 92, 188);
   }

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(246, 42%, 55%);
  }

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 #665cbc

RGB Code Hex Code Preview
rgb(102, 92, 188, 10%) #665cbc1a  
rgb(102, 92, 188, 20%) #665cbc33  
rgb(102, 92, 188, 40%) #665cbc4C  
rgb(102, 92, 188, 60%) #665cbc99  
rgb(102, 92, 188, 80%) #665cbcCC  
rgb(102, 92, 188, 100%) #665cbcFF  

Saturated and desaturated colors of #665cbc

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

#665cbc Color Usage In CSS

 body {
    color: #665cbc;
    }
 p {
    color: rgb(102, 92, 188);
    }
 header {
    border-bottom:1px solid #665cbc;
    }
Recent Random Colors