Random Color Generator

#ad2318 Color

Color Codes
Hex Code #ad2318
RGB Code rgb(173, 35, 24)
HSL Code hsl(4, 76%, 39%)

#ad2318 Color Syntax

rgb()

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

 main {
    background-color: rgb(173, 35, 24);
   }

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(4, 76%, 39%);
  }

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 #ad2318

RGB Code Hex Code Preview
rgb(173, 35, 24, 10%) #ad23181a  
rgb(173, 35, 24, 20%) #ad231833  
rgb(173, 35, 24, 40%) #ad23184C  
rgb(173, 35, 24, 60%) #ad231899  
rgb(173, 35, 24, 80%) #ad2318CC  
rgb(173, 35, 24, 100%) #ad2318FF  

Saturated and desaturated colors of #ad2318

HSL Code Preview
hsl(4, 10%, 39%)  
hsl(4, 20%, 39%)  
hsl(4, 40%, 39%)  
hsl(4, 60%, 39%)  
hsl(4, 80%, 39%)  
hsl(4, 100%, 39%)  

#ad2318 Color Usage In CSS

 body {
    color: #ad2318;
    }
 p {
    color: rgb(173, 35, 24);
    }
 header {
    border-bottom:1px solid #ad2318;
    }
Recent Random Colors