Random Color Generator

#9fa430 Color

Color Codes
Hex Code #9fa430
RGB Code rgb(159, 164, 48)
HSL Code hsl(63, 55%, 42%)

#9fa430 Color Syntax

rgb()

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

 main {
    background-color: rgb(159, 164, 48);
   }

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, 55%, 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 #9fa430

RGB Code Hex Code Preview
rgb(159, 164, 48, 10%) #9fa4301a  
rgb(159, 164, 48, 20%) #9fa43033  
rgb(159, 164, 48, 40%) #9fa4304C  
rgb(159, 164, 48, 60%) #9fa43099  
rgb(159, 164, 48, 80%) #9fa430CC  
rgb(159, 164, 48, 100%) #9fa430FF  

Saturated and desaturated colors of #9fa430

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

#9fa430 Color Usage In CSS

 body {
    color: #9fa430;
    }
 p {
    color: rgb(159, 164, 48);
    }
 header {
    border-bottom:1px solid #9fa430;
    }
Recent Random Colors