Random Color Generator

#d12b0d Color

Color Codes
Hex Code #d12b0d
RGB Code rgb(209, 43, 13)
HSL Code hsl(9, 88%, 44%)

#d12b0d Color Syntax

rgb()

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

 main {
    background-color: rgb(209, 43, 13);
   }

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(9, 88%, 44%);
  }

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

RGB Code Hex Code Preview
rgb(209, 43, 13, 10%) #d12b0d1a  
rgb(209, 43, 13, 20%) #d12b0d33  
rgb(209, 43, 13, 40%) #d12b0d4C  
rgb(209, 43, 13, 60%) #d12b0d99  
rgb(209, 43, 13, 80%) #d12b0dCC  
rgb(209, 43, 13, 100%) #d12b0dFF  

Saturated and desaturated colors of #d12b0d

HSL Code Preview
hsl(9, 10%, 44%)  
hsl(9, 20%, 44%)  
hsl(9, 40%, 44%)  
hsl(9, 60%, 44%)  
hsl(9, 80%, 44%)  
hsl(9, 100%, 44%)  

#d12b0d Color Usage In CSS

 body {
    color: #d12b0d;
    }
 p {
    color: rgb(209, 43, 13);
    }
 header {
    border-bottom:1px solid #d12b0d;
    }
Recent Random Colors