Random Color Generator

#ba0903 Color

Color Codes
Hex Code #ba0903
RGB Code rgb(186, 09, 03)
HSL Code hsl(2, 97%, 37%)

#ba0903 Color Syntax

rgb()

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

 main {
    background-color: rgb(186, 09, 03);
   }

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(2, 97%, 37%);
  }

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

RGB Code Hex Code Preview
rgb(186, 09, 03, 10%) #ba09031a  
rgb(186, 09, 03, 20%) #ba090333  
rgb(186, 09, 03, 40%) #ba09034C  
rgb(186, 09, 03, 60%) #ba090399  
rgb(186, 09, 03, 80%) #ba0903CC  
rgb(186, 09, 03, 100%) #ba0903FF  

Saturated and desaturated colors of #ba0903

HSL Code Preview
hsl(2, 10%, 37%)  
hsl(2, 20%, 37%)  
hsl(2, 40%, 37%)  
hsl(2, 60%, 37%)  
hsl(2, 80%, 37%)  
hsl(2, 100%, 37%)  

#ba0903 Color Usage In CSS

 body {
    color: #ba0903;
    }
 p {
    color: rgb(186, 09, 03);
    }
 header {
    border-bottom:1px solid #ba0903;
    }
Recent Random Colors