Random Color Generator

#a7cf06 Color

Color Codes
Hex Code #a7cf06
RGB Code rgb(167, 207, 06)
HSL Code hsl(72, 94%, 42%)

#a7cf06 Color Syntax

rgb()

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

 main {
    background-color: rgb(167, 207, 06);
   }

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(72, 94%, 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 #a7cf06

RGB Code Hex Code Preview
rgb(167, 207, 06, 10%) #a7cf061a  
rgb(167, 207, 06, 20%) #a7cf0633  
rgb(167, 207, 06, 40%) #a7cf064C  
rgb(167, 207, 06, 60%) #a7cf0699  
rgb(167, 207, 06, 80%) #a7cf06CC  
rgb(167, 207, 06, 100%) #a7cf06FF  

Saturated and desaturated colors of #a7cf06

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

#a7cf06 Color Usage In CSS

 body {
    color: #a7cf06;
    }
 p {
    color: rgb(167, 207, 06);
    }
 header {
    border-bottom:1px solid #a7cf06;
    }
Recent Random Colors