Random Color Generator

#514b4c Color

Color Codes
Hex Code #514b4c
RGB Code rgb(81, 75, 76)
HSL Code hsl(350, 4%, 31%)

#514b4c Color Syntax

rgb()

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

 main {
    background-color: rgb(81, 75, 76);
   }

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(350, 4%, 31%);
  }

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 #514b4c

RGB Code Hex Code Preview
rgb(81, 75, 76, 10%) #514b4c1a  
rgb(81, 75, 76, 20%) #514b4c33  
rgb(81, 75, 76, 40%) #514b4c4C  
rgb(81, 75, 76, 60%) #514b4c99  
rgb(81, 75, 76, 80%) #514b4cCC  
rgb(81, 75, 76, 100%) #514b4cFF  

Saturated and desaturated colors of #514b4c

HSL Code Preview
hsl(350, 10%, 31%)  
hsl(350, 20%, 31%)  
hsl(350, 40%, 31%)  
hsl(350, 60%, 31%)  
hsl(350, 80%, 31%)  
hsl(350, 100%, 31%)  

#514b4c Color Usage In CSS

 body {
    color: #514b4c;
    }
 p {
    color: rgb(81, 75, 76);
    }
 header {
    border-bottom:1px solid #514b4c;
    }
Recent Random Colors