Random Color Generator

#ba0d25 Color

Color Codes
Hex Code #ba0d25
RGB Code rgb(186, 13, 37)
HSL Code hsl(352, 87%, 39%)

#ba0d25 Color Syntax

rgb()

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

 main {
    background-color: rgb(186, 13, 37);
   }

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(352, 87%, 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 #ba0d25

RGB Code Hex Code Preview
rgb(186, 13, 37, 10%) #ba0d251a  
rgb(186, 13, 37, 20%) #ba0d2533  
rgb(186, 13, 37, 40%) #ba0d254C  
rgb(186, 13, 37, 60%) #ba0d2599  
rgb(186, 13, 37, 80%) #ba0d25CC  
rgb(186, 13, 37, 100%) #ba0d25FF  

Saturated and desaturated colors of #ba0d25

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

#ba0d25 Color Usage In CSS

 body {
    color: #ba0d25;
    }
 p {
    color: rgb(186, 13, 37);
    }
 header {
    border-bottom:1px solid #ba0d25;
    }
Recent Random Colors