Random Color Generator

#6b5238 Color

Color Codes
Hex Code #6b5238
RGB Code rgb(107, 82, 56)
HSL Code hsl(31, 31%, 32%)

#6b5238 Color Syntax

rgb()

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

 main {
    background-color: rgb(107, 82, 56);
   }

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

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 #6b5238

RGB Code Hex Code Preview
rgb(107, 82, 56, 10%) #6b52381a  
rgb(107, 82, 56, 20%) #6b523833  
rgb(107, 82, 56, 40%) #6b52384C  
rgb(107, 82, 56, 60%) #6b523899  
rgb(107, 82, 56, 80%) #6b5238CC  
rgb(107, 82, 56, 100%) #6b5238FF  

Saturated and desaturated colors of #6b5238

HSL Code Preview
hsl(31, 10%, 32%)  
hsl(31, 20%, 32%)  
hsl(31, 40%, 32%)  
hsl(31, 60%, 32%)  
hsl(31, 80%, 32%)  
hsl(31, 100%, 32%)  

#6b5238 Color Usage In CSS

 body {
    color: #6b5238;
    }
 p {
    color: rgb(107, 82, 56);
    }
 header {
    border-bottom:1px solid #6b5238;
    }
Recent Random Colors