Random Color Generator

#768308 Color

Color Codes
Hex Code #768308
RGB Code rgb(118, 131, 08)
HSL Code hsl(66, 88%, 27%)

#768308 Color Syntax

rgb()

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

 main {
    background-color: rgb(118, 131, 08);
   }

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(66, 88%, 27%);
  }

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 #768308

RGB Code Hex Code Preview
rgb(118, 131, 08, 10%) #7683081a  
rgb(118, 131, 08, 20%) #76830833  
rgb(118, 131, 08, 40%) #7683084C  
rgb(118, 131, 08, 60%) #76830899  
rgb(118, 131, 08, 80%) #768308CC  
rgb(118, 131, 08, 100%) #768308FF  

Saturated and desaturated colors of #768308

HSL Code Preview
hsl(66, 10%, 27%)  
hsl(66, 20%, 27%)  
hsl(66, 40%, 27%)  
hsl(66, 60%, 27%)  
hsl(66, 80%, 27%)  
hsl(66, 100%, 27%)  

#768308 Color Usage In CSS

 body {
    color: #768308;
    }
 p {
    color: rgb(118, 131, 08);
    }
 header {
    border-bottom:1px solid #768308;
    }
Recent Random Colors