Random Color Generator

#878491 Color

Color Codes
Hex Code #878491
RGB Code rgb(135, 132, 145)
HSL Code hsl(254, 6%, 54%)

#878491 Color Syntax

rgb()

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

 main {
    background-color: rgb(135, 132, 145);
   }

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(254, 6%, 54%);
  }

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

RGB Code Hex Code Preview
rgb(135, 132, 145, 10%) #8784911a  
rgb(135, 132, 145, 20%) #87849133  
rgb(135, 132, 145, 40%) #8784914C  
rgb(135, 132, 145, 60%) #87849199  
rgb(135, 132, 145, 80%) #878491CC  
rgb(135, 132, 145, 100%) #878491FF  

Saturated and desaturated colors of #878491

HSL Code Preview
hsl(254, 10%, 54%)  
hsl(254, 20%, 54%)  
hsl(254, 40%, 54%)  
hsl(254, 60%, 54%)  
hsl(254, 80%, 54%)  
hsl(254, 100%, 54%)  

#878491 Color Usage In CSS

 body {
    color: #878491;
    }
 p {
    color: rgb(135, 132, 145);
    }
 header {
    border-bottom:1px solid #878491;
    }
Recent Random Colors