Random Color Generator

#46641c Color

Color Codes
Hex Code #46641c
RGB Code rgb(70, 100, 28)
HSL Code hsl(85, 56%, 25%)

#46641c Color Syntax

rgb()

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

 main {
    background-color: rgb(70, 100, 28);
   }

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(85, 56%, 25%);
  }

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 #46641c

RGB Code Hex Code Preview
rgb(70, 100, 28, 10%) #46641c1a  
rgb(70, 100, 28, 20%) #46641c33  
rgb(70, 100, 28, 40%) #46641c4C  
rgb(70, 100, 28, 60%) #46641c99  
rgb(70, 100, 28, 80%) #46641cCC  
rgb(70, 100, 28, 100%) #46641cFF  

Saturated and desaturated colors of #46641c

HSL Code Preview
hsl(85, 10%, 25%)  
hsl(85, 20%, 25%)  
hsl(85, 40%, 25%)  
hsl(85, 60%, 25%)  
hsl(85, 80%, 25%)  
hsl(85, 100%, 25%)  

#46641c Color Usage In CSS

 body {
    color: #46641c;
    }
 p {
    color: rgb(70, 100, 28);
    }
 header {
    border-bottom:1px solid #46641c;
    }
Recent Random Colors