Random Color Generator

#848e0a Color

Color Codes
Hex Code #848e0a
RGB Code rgb(132, 142, 10)
HSL Code hsl(65, 87%, 30%)

#848e0a Color Syntax

rgb()

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

 main {
    background-color: rgb(132, 142, 10);
   }

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(65, 87%, 30%);
  }

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 #848e0a

RGB Code Hex Code Preview
rgb(132, 142, 10, 10%) #848e0a1a  
rgb(132, 142, 10, 20%) #848e0a33  
rgb(132, 142, 10, 40%) #848e0a4C  
rgb(132, 142, 10, 60%) #848e0a99  
rgb(132, 142, 10, 80%) #848e0aCC  
rgb(132, 142, 10, 100%) #848e0aFF  

Saturated and desaturated colors of #848e0a

HSL Code Preview
hsl(65, 10%, 30%)  
hsl(65, 20%, 30%)  
hsl(65, 40%, 30%)  
hsl(65, 60%, 30%)  
hsl(65, 80%, 30%)  
hsl(65, 100%, 30%)  

#848e0a Color Usage In CSS

 body {
    color: #848e0a;
    }
 p {
    color: rgb(132, 142, 10);
    }
 header {
    border-bottom:1px solid #848e0a;
    }
Recent Random Colors