Random Color Generator

#948f4c Color

Color Codes
Hex Code #948f4c
RGB Code rgb(148, 143, 76)
HSL Code hsl(56, 32%, 44%)

#948f4c Color Syntax

rgb()

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

 main {
    background-color: rgb(148, 143, 76);
   }

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(56, 32%, 44%);
  }

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 #948f4c

RGB Code Hex Code Preview
rgb(148, 143, 76, 10%) #948f4c1a  
rgb(148, 143, 76, 20%) #948f4c33  
rgb(148, 143, 76, 40%) #948f4c4C  
rgb(148, 143, 76, 60%) #948f4c99  
rgb(148, 143, 76, 80%) #948f4cCC  
rgb(148, 143, 76, 100%) #948f4cFF  

Saturated and desaturated colors of #948f4c

HSL Code Preview
hsl(56, 10%, 44%)  
hsl(56, 20%, 44%)  
hsl(56, 40%, 44%)  
hsl(56, 60%, 44%)  
hsl(56, 80%, 44%)  
hsl(56, 100%, 44%)  

#948f4c Color Usage In CSS

 body {
    color: #948f4c;
    }
 p {
    color: rgb(148, 143, 76);
    }
 header {
    border-bottom:1px solid #948f4c;
    }
Recent Random Colors