Random Color Generator

#642b48 Color

Color Codes
Hex Code #642b48
RGB Code rgb(100, 43, 72)
HSL Code hsl(329, 40%, 28%)

#642b48 Color Syntax

rgb()

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

 main {
    background-color: rgb(100, 43, 72);
   }

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(329, 40%, 28%);
  }

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 #642b48

RGB Code Hex Code Preview
rgb(100, 43, 72, 10%) #642b481a  
rgb(100, 43, 72, 20%) #642b4833  
rgb(100, 43, 72, 40%) #642b484C  
rgb(100, 43, 72, 60%) #642b4899  
rgb(100, 43, 72, 80%) #642b48CC  
rgb(100, 43, 72, 100%) #642b48FF  

Saturated and desaturated colors of #642b48

HSL Code Preview
hsl(329, 10%, 28%)  
hsl(329, 20%, 28%)  
hsl(329, 40%, 28%)  
hsl(329, 60%, 28%)  
hsl(329, 80%, 28%)  
hsl(329, 100%, 28%)  

#642b48 Color Usage In CSS

 body {
    color: #642b48;
    }
 p {
    color: rgb(100, 43, 72);
    }
 header {
    border-bottom:1px solid #642b48;
    }
Recent Random Colors