Random Color Generator

#45512e Color

Color Codes
Hex Code #45512e
RGB Code rgb(69, 81, 46)
HSL Code hsl(81, 28%, 25%)

#45512e Color Syntax

rgb()

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

 main {
    background-color: rgb(69, 81, 46);
   }

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(81, 28%, 25%);
  }

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 #45512e

RGB Code Hex Code Preview
rgb(69, 81, 46, 10%) #45512e1a  
rgb(69, 81, 46, 20%) #45512e33  
rgb(69, 81, 46, 40%) #45512e4C  
rgb(69, 81, 46, 60%) #45512e99  
rgb(69, 81, 46, 80%) #45512eCC  
rgb(69, 81, 46, 100%) #45512eFF  

Saturated and desaturated colors of #45512e

HSL Code Preview
hsl(81, 10%, 25%)  
hsl(81, 20%, 25%)  
hsl(81, 40%, 25%)  
hsl(81, 60%, 25%)  
hsl(81, 80%, 25%)  
hsl(81, 100%, 25%)  

#45512e Color Usage In CSS

 body {
    color: #45512e;
    }
 p {
    color: rgb(69, 81, 46);
    }
 header {
    border-bottom:1px solid #45512e;
    }
Recent Random Colors