Random Color Generator

#796975 Color

Color Codes
Hex Code #796975
RGB Code rgb(121, 105, 117)
HSL Code hsl(315, 7%, 44%)

#796975 Color Syntax

rgb()

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

 main {
    background-color: rgb(121, 105, 117);
   }

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(315, 7%, 44%);
  }

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

RGB Code Hex Code Preview
rgb(121, 105, 117, 10%) #7969751a  
rgb(121, 105, 117, 20%) #79697533  
rgb(121, 105, 117, 40%) #7969754C  
rgb(121, 105, 117, 60%) #79697599  
rgb(121, 105, 117, 80%) #796975CC  
rgb(121, 105, 117, 100%) #796975FF  

Saturated and desaturated colors of #796975

HSL Code Preview
hsl(315, 10%, 44%)  
hsl(315, 20%, 44%)  
hsl(315, 40%, 44%)  
hsl(315, 60%, 44%)  
hsl(315, 80%, 44%)  
hsl(315, 100%, 44%)  

#796975 Color Usage In CSS

 body {
    color: #796975;
    }
 p {
    color: rgb(121, 105, 117);
    }
 header {
    border-bottom:1px solid #796975;
    }
Recent Random Colors