Random Color Generator

#6ca8cc Color

Color Codes
Hex Code #6ca8cc
RGB Code rgb(108, 168, 204)
HSL Code hsl(203, 48%, 61%)

#6ca8cc Color Syntax

rgb()

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

 main {
    background-color: rgb(108, 168, 204);
   }

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(203, 48%, 61%);
  }

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

RGB Code Hex Code Preview
rgb(108, 168, 204, 10%) #6ca8cc1a  
rgb(108, 168, 204, 20%) #6ca8cc33  
rgb(108, 168, 204, 40%) #6ca8cc4C  
rgb(108, 168, 204, 60%) #6ca8cc99  
rgb(108, 168, 204, 80%) #6ca8ccCC  
rgb(108, 168, 204, 100%) #6ca8ccFF  

Saturated and desaturated colors of #6ca8cc

HSL Code Preview
hsl(203, 10%, 61%)  
hsl(203, 20%, 61%)  
hsl(203, 40%, 61%)  
hsl(203, 60%, 61%)  
hsl(203, 80%, 61%)  
hsl(203, 100%, 61%)  

#6ca8cc Color Usage In CSS

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