Random Color Generator

#4a2d38 Color

Color Codes
Hex Code #4a2d38
RGB Code rgb(74, 45, 56)
HSL Code hsl(337, 24%, 23%)

#4a2d38 Color Syntax

rgb()

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

 main {
    background-color: rgb(74, 45, 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(337, 24%, 23%);
  }

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 #4a2d38

RGB Code Hex Code Preview
rgb(74, 45, 56, 10%) #4a2d381a  
rgb(74, 45, 56, 20%) #4a2d3833  
rgb(74, 45, 56, 40%) #4a2d384C  
rgb(74, 45, 56, 60%) #4a2d3899  
rgb(74, 45, 56, 80%) #4a2d38CC  
rgb(74, 45, 56, 100%) #4a2d38FF  

Saturated and desaturated colors of #4a2d38

HSL Code Preview
hsl(337, 10%, 23%)  
hsl(337, 20%, 23%)  
hsl(337, 40%, 23%)  
hsl(337, 60%, 23%)  
hsl(337, 80%, 23%)  
hsl(337, 100%, 23%)  

#4a2d38 Color Usage In CSS

 body {
    color: #4a2d38;
    }
 p {
    color: rgb(74, 45, 56);
    }
 header {
    border-bottom:1px solid #4a2d38;
    }
Recent Random Colors