Random Color Generator

#764d5f Color

Color Codes
Hex Code #764d5f
RGB Code rgb(118, 77, 95)
HSL Code hsl(334, 21%, 38%)

#764d5f Color Syntax

rgb()

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

 main {
    background-color: rgb(118, 77, 95);
   }

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(334, 21%, 38%);
  }

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 #764d5f

RGB Code Hex Code Preview
rgb(118, 77, 95, 10%) #764d5f1a  
rgb(118, 77, 95, 20%) #764d5f33  
rgb(118, 77, 95, 40%) #764d5f4C  
rgb(118, 77, 95, 60%) #764d5f99  
rgb(118, 77, 95, 80%) #764d5fCC  
rgb(118, 77, 95, 100%) #764d5fFF  

Saturated and desaturated colors of #764d5f

HSL Code Preview
hsl(334, 10%, 38%)  
hsl(334, 20%, 38%)  
hsl(334, 40%, 38%)  
hsl(334, 60%, 38%)  
hsl(334, 80%, 38%)  
hsl(334, 100%, 38%)  

#764d5f Color Usage In CSS

 body {
    color: #764d5f;
    }
 p {
    color: rgb(118, 77, 95);
    }
 header {
    border-bottom:1px solid #764d5f;
    }
Recent Random Colors