Random Color Generator

#668cb2 Color

Color Codes
Hex Code #668cb2
RGB Code rgb(102, 140, 178)
HSL Code hsl(210, 33%, 55%)

#668cb2 Color Syntax

rgb()

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

 main {
    background-color: rgb(102, 140, 178);
   }

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(210, 33%, 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 #668cb2

RGB Code Hex Code Preview
rgb(102, 140, 178, 10%) #668cb21a  
rgb(102, 140, 178, 20%) #668cb233  
rgb(102, 140, 178, 40%) #668cb24C  
rgb(102, 140, 178, 60%) #668cb299  
rgb(102, 140, 178, 80%) #668cb2CC  
rgb(102, 140, 178, 100%) #668cb2FF  

Saturated and desaturated colors of #668cb2

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

#668cb2 Color Usage In CSS

 body {
    color: #668cb2;
    }
 p {
    color: rgb(102, 140, 178);
    }
 header {
    border-bottom:1px solid #668cb2;
    }
Recent Random Colors