Random Color Generator

#a4b731 Color

Color Codes
Hex Code #a4b731
RGB Code rgb(164, 183, 49)
HSL Code hsl(69, 58%, 45%)

#a4b731 Color Syntax

rgb()

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

 main {
    background-color: rgb(164, 183, 49);
   }

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(69, 58%, 45%);
  }

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

RGB Code Hex Code Preview
rgb(164, 183, 49, 10%) #a4b7311a  
rgb(164, 183, 49, 20%) #a4b73133  
rgb(164, 183, 49, 40%) #a4b7314C  
rgb(164, 183, 49, 60%) #a4b73199  
rgb(164, 183, 49, 80%) #a4b731CC  
rgb(164, 183, 49, 100%) #a4b731FF  

Saturated and desaturated colors of #a4b731

HSL Code Preview
hsl(69, 10%, 45%)  
hsl(69, 20%, 45%)  
hsl(69, 40%, 45%)  
hsl(69, 60%, 45%)  
hsl(69, 80%, 45%)  
hsl(69, 100%, 45%)  

#a4b731 Color Usage In CSS

 body {
    color: #a4b731;
    }
 p {
    color: rgb(164, 183, 49);
    }
 header {
    border-bottom:1px solid #a4b731;
    }
Recent Random Colors