Random Color Generator

#bc0542 Color

Color Codes
Hex Code #bc0542
RGB Code rgb(188, 05, 66)
HSL Code hsl(340, 95%, 38%)

#bc0542 Color Syntax

rgb()

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

 main {
    background-color: rgb(188, 05, 66);
   }

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(340, 95%, 38%);
  }

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

RGB Code Hex Code Preview
rgb(188, 05, 66, 10%) #bc05421a  
rgb(188, 05, 66, 20%) #bc054233  
rgb(188, 05, 66, 40%) #bc05424C  
rgb(188, 05, 66, 60%) #bc054299  
rgb(188, 05, 66, 80%) #bc0542CC  
rgb(188, 05, 66, 100%) #bc0542FF  

Saturated and desaturated colors of #bc0542

HSL Code Preview
hsl(340, 10%, 38%)  
hsl(340, 20%, 38%)  
hsl(340, 40%, 38%)  
hsl(340, 60%, 38%)  
hsl(340, 80%, 38%)  
hsl(340, 100%, 38%)  

#bc0542 Color Usage In CSS

 body {
    color: #bc0542;
    }
 p {
    color: rgb(188, 05, 66);
    }
 header {
    border-bottom:1px solid #bc0542;
    }
Recent Random Colors