Random Color Generator

#ba0133 Color

Color Codes
Hex Code #ba0133
RGB Code rgb(186, 01, 51)
HSL Code hsl(344, 99%, 37%)

#ba0133 Color Syntax

rgb()

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

 main {
    background-color: rgb(186, 01, 51);
   }

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(344, 99%, 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 #ba0133

RGB Code Hex Code Preview
rgb(186, 01, 51, 10%) #ba01331a  
rgb(186, 01, 51, 20%) #ba013333  
rgb(186, 01, 51, 40%) #ba01334C  
rgb(186, 01, 51, 60%) #ba013399  
rgb(186, 01, 51, 80%) #ba0133CC  
rgb(186, 01, 51, 100%) #ba0133FF  

Saturated and desaturated colors of #ba0133

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

#ba0133 Color Usage In CSS

 body {
    color: #ba0133;
    }
 p {
    color: rgb(186, 01, 51);
    }
 header {
    border-bottom:1px solid #ba0133;
    }
Recent Random Colors