Random Color Generator

#949c0c Color

Color Codes
Hex Code #949c0c
RGB Code rgb(148, 156, 12)
HSL Code hsl(63, 86%, 33%)

#949c0c Color Syntax

rgb()

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

 main {
    background-color: rgb(148, 156, 12);
   }

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(63, 86%, 33%);
  }

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 #949c0c

RGB Code Hex Code Preview
rgb(148, 156, 12, 10%) #949c0c1a  
rgb(148, 156, 12, 20%) #949c0c33  
rgb(148, 156, 12, 40%) #949c0c4C  
rgb(148, 156, 12, 60%) #949c0c99  
rgb(148, 156, 12, 80%) #949c0cCC  
rgb(148, 156, 12, 100%) #949c0cFF  

Saturated and desaturated colors of #949c0c

HSL Code Preview
hsl(63, 10%, 33%)  
hsl(63, 20%, 33%)  
hsl(63, 40%, 33%)  
hsl(63, 60%, 33%)  
hsl(63, 80%, 33%)  
hsl(63, 100%, 33%)  

#949c0c Color Usage In CSS

 body {
    color: #949c0c;
    }
 p {
    color: rgb(148, 156, 12);
    }
 header {
    border-bottom:1px solid #949c0c;
    }
Recent Random Colors