Random Color Generator

#4b1a09 Color

Color Codes
Hex Code #4b1a09
RGB Code rgb(75, 26, 09)
HSL Code hsl(15, 79%, 16%)

#4b1a09 Color Syntax

rgb()

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

 main {
    background-color: rgb(75, 26, 09);
   }

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(15, 79%, 16%);
  }

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

RGB Code Hex Code Preview
rgb(75, 26, 09, 10%) #4b1a091a  
rgb(75, 26, 09, 20%) #4b1a0933  
rgb(75, 26, 09, 40%) #4b1a094C  
rgb(75, 26, 09, 60%) #4b1a0999  
rgb(75, 26, 09, 80%) #4b1a09CC  
rgb(75, 26, 09, 100%) #4b1a09FF  

Saturated and desaturated colors of #4b1a09

HSL Code Preview
hsl(15, 10%, 16%)  
hsl(15, 20%, 16%)  
hsl(15, 40%, 16%)  
hsl(15, 60%, 16%)  
hsl(15, 80%, 16%)  
hsl(15, 100%, 16%)  

#4b1a09 Color Usage In CSS

 body {
    color: #4b1a09;
    }
 p {
    color: rgb(75, 26, 09);
    }
 header {
    border-bottom:1px solid #4b1a09;
    }
Recent Random Colors