Random Color Generator

#bc271a Color

Color Codes
Hex Code #bc271a
RGB Code rgb(188, 39, 26)
HSL Code hsl(5, 76%, 42%)

#bc271a Color Syntax

rgb()

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

 main {
    background-color: rgb(188, 39, 26);
   }

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(5, 76%, 42%);
  }

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

RGB Code Hex Code Preview
rgb(188, 39, 26, 10%) #bc271a1a  
rgb(188, 39, 26, 20%) #bc271a33  
rgb(188, 39, 26, 40%) #bc271a4C  
rgb(188, 39, 26, 60%) #bc271a99  
rgb(188, 39, 26, 80%) #bc271aCC  
rgb(188, 39, 26, 100%) #bc271aFF  

Saturated and desaturated colors of #bc271a

HSL Code Preview
hsl(5, 10%, 42%)  
hsl(5, 20%, 42%)  
hsl(5, 40%, 42%)  
hsl(5, 60%, 42%)  
hsl(5, 80%, 42%)  
hsl(5, 100%, 42%)  

#bc271a Color Usage In CSS

 body {
    color: #bc271a;
    }
 p {
    color: rgb(188, 39, 26);
    }
 header {
    border-bottom:1px solid #bc271a;
    }
Recent Random Colors