Random Color Generator

#8a9ca4 Color

Color Codes
Hex Code #8a9ca4
RGB Code rgb(138, 156, 164)
HSL Code hsl(198, 13%, 59%)

#8a9ca4 Color Syntax

rgb()

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

 main {
    background-color: rgb(138, 156, 164);
   }

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(198, 13%, 59%);
  }

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 #8a9ca4

RGB Code Hex Code Preview
rgb(138, 156, 164, 10%) #8a9ca41a  
rgb(138, 156, 164, 20%) #8a9ca433  
rgb(138, 156, 164, 40%) #8a9ca44C  
rgb(138, 156, 164, 60%) #8a9ca499  
rgb(138, 156, 164, 80%) #8a9ca4CC  
rgb(138, 156, 164, 100%) #8a9ca4FF  

Saturated and desaturated colors of #8a9ca4

HSL Code Preview
hsl(198, 10%, 59%)  
hsl(198, 20%, 59%)  
hsl(198, 40%, 59%)  
hsl(198, 60%, 59%)  
hsl(198, 80%, 59%)  
hsl(198, 100%, 59%)  

#8a9ca4 Color Usage In CSS

 body {
    color: #8a9ca4;
    }
 p {
    color: rgb(138, 156, 164);
    }
 header {
    border-bottom:1px solid #8a9ca4;
    }
Recent Random Colors