Random Color Generator

#96a902 Color

Color Codes
Hex Code #96a902
RGB Code rgb(150, 169, 02)
HSL Code hsl(67, 98%, 34%)

#96a902 Color Syntax

rgb()

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

 main {
    background-color: rgb(150, 169, 02);
   }

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(67, 98%, 34%);
  }

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 #96a902

RGB Code Hex Code Preview
rgb(150, 169, 02, 10%) #96a9021a  
rgb(150, 169, 02, 20%) #96a90233  
rgb(150, 169, 02, 40%) #96a9024C  
rgb(150, 169, 02, 60%) #96a90299  
rgb(150, 169, 02, 80%) #96a902CC  
rgb(150, 169, 02, 100%) #96a902FF  

Saturated and desaturated colors of #96a902

HSL Code Preview
hsl(67, 10%, 34%)  
hsl(67, 20%, 34%)  
hsl(67, 40%, 34%)  
hsl(67, 60%, 34%)  
hsl(67, 80%, 34%)  
hsl(67, 100%, 34%)  

#96a902 Color Usage In CSS

 body {
    color: #96a902;
    }
 p {
    color: rgb(150, 169, 02);
    }
 header {
    border-bottom:1px solid #96a902;
    }
Recent Random Colors