Random Color Generator

#808420 Color

Color Codes
Hex Code #808420
RGB Code rgb(128, 132, 32)
HSL Code hsl(62, 61%, 32%)

#808420 Color Syntax

rgb()

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

 main {
    background-color: rgb(128, 132, 32);
   }

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(62, 61%, 32%);
  }

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

RGB Code Hex Code Preview
rgb(128, 132, 32, 10%) #8084201a  
rgb(128, 132, 32, 20%) #80842033  
rgb(128, 132, 32, 40%) #8084204C  
rgb(128, 132, 32, 60%) #80842099  
rgb(128, 132, 32, 80%) #808420CC  
rgb(128, 132, 32, 100%) #808420FF  

Saturated and desaturated colors of #808420

HSL Code Preview
hsl(62, 10%, 32%)  
hsl(62, 20%, 32%)  
hsl(62, 40%, 32%)  
hsl(62, 60%, 32%)  
hsl(62, 80%, 32%)  
hsl(62, 100%, 32%)  

#808420 Color Usage In CSS

 body {
    color: #808420;
    }
 p {
    color: rgb(128, 132, 32);
    }
 header {
    border-bottom:1px solid #808420;
    }
Recent Random Colors