Random Color Generator

#6c8fdc Color

Color Codes
Hex Code #6c8fdc
RGB Code rgb(108, 143, 220)
HSL Code hsl(221, 62%, 64%)

#6c8fdc Color Syntax

rgb()

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

 main {
    background-color: rgb(108, 143, 220);
   }

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(221, 62%, 64%);
  }

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

RGB Code Hex Code Preview
rgb(108, 143, 220, 10%) #6c8fdc1a  
rgb(108, 143, 220, 20%) #6c8fdc33  
rgb(108, 143, 220, 40%) #6c8fdc4C  
rgb(108, 143, 220, 60%) #6c8fdc99  
rgb(108, 143, 220, 80%) #6c8fdcCC  
rgb(108, 143, 220, 100%) #6c8fdcFF  

Saturated and desaturated colors of #6c8fdc

HSL Code Preview
hsl(221, 10%, 64%)  
hsl(221, 20%, 64%)  
hsl(221, 40%, 64%)  
hsl(221, 60%, 64%)  
hsl(221, 80%, 64%)  
hsl(221, 100%, 64%)  

#6c8fdc Color Usage In CSS

 body {
    color: #6c8fdc;
    }
 p {
    color: rgb(108, 143, 220);
    }
 header {
    border-bottom:1px solid #6c8fdc;
    }
Recent Random Colors