Random Color Generator

#9d9421 Color

Color Codes
Hex Code #9d9421
RGB Code rgb(157, 148, 33)
HSL Code hsl(56, 65%, 37%)

#9d9421 Color Syntax

rgb()

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

 main {
    background-color: rgb(157, 148, 33);
   }

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(56, 65%, 37%);
  }

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 #9d9421

RGB Code Hex Code Preview
rgb(157, 148, 33, 10%) #9d94211a  
rgb(157, 148, 33, 20%) #9d942133  
rgb(157, 148, 33, 40%) #9d94214C  
rgb(157, 148, 33, 60%) #9d942199  
rgb(157, 148, 33, 80%) #9d9421CC  
rgb(157, 148, 33, 100%) #9d9421FF  

Saturated and desaturated colors of #9d9421

HSL Code Preview
hsl(56, 10%, 37%)  
hsl(56, 20%, 37%)  
hsl(56, 40%, 37%)  
hsl(56, 60%, 37%)  
hsl(56, 80%, 37%)  
hsl(56, 100%, 37%)  

#9d9421 Color Usage In CSS

 body {
    color: #9d9421;
    }
 p {
    color: rgb(157, 148, 33);
    }
 header {
    border-bottom:1px solid #9d9421;
    }
Recent Random Colors