Random Color Generator

#a7a8cb Color

Color Codes
Hex Code #a7a8cb
RGB Code rgb(167, 168, 203)
HSL Code hsl(238, 26%, 73%)

#a7a8cb Color Syntax

rgb()

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

 main {
    background-color: rgb(167, 168, 203);
   }

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(238, 26%, 73%);
  }

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 #a7a8cb

RGB Code Hex Code Preview
rgb(167, 168, 203, 10%) #a7a8cb1a  
rgb(167, 168, 203, 20%) #a7a8cb33  
rgb(167, 168, 203, 40%) #a7a8cb4C  
rgb(167, 168, 203, 60%) #a7a8cb99  
rgb(167, 168, 203, 80%) #a7a8cbCC  
rgb(167, 168, 203, 100%) #a7a8cbFF  

Saturated and desaturated colors of #a7a8cb

HSL Code Preview
hsl(238, 10%, 73%)  
hsl(238, 20%, 73%)  
hsl(238, 40%, 73%)  
hsl(238, 60%, 73%)  
hsl(238, 80%, 73%)  
hsl(238, 100%, 73%)  

#a7a8cb Color Usage In CSS

 body {
    color: #a7a8cb;
    }
 p {
    color: rgb(167, 168, 203);
    }
 header {
    border-bottom:1px solid #a7a8cb;
    }
Recent Random Colors