Random Color Generator

#988240 Color

Color Codes
Hex Code #988240
RGB Code rgb(152, 130, 64)
HSL Code hsl(45, 41%, 42%)

#988240 Color Syntax

rgb()

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

 main {
    background-color: rgb(152, 130, 64);
   }

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(45, 41%, 42%);
  }

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

RGB Code Hex Code Preview
rgb(152, 130, 64, 10%) #9882401a  
rgb(152, 130, 64, 20%) #98824033  
rgb(152, 130, 64, 40%) #9882404C  
rgb(152, 130, 64, 60%) #98824099  
rgb(152, 130, 64, 80%) #988240CC  
rgb(152, 130, 64, 100%) #988240FF  

Saturated and desaturated colors of #988240

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

#988240 Color Usage In CSS

 body {
    color: #988240;
    }
 p {
    color: rgb(152, 130, 64);
    }
 header {
    border-bottom:1px solid #988240;
    }
Recent Random Colors