Random Color Generator

#bc0caa Color

Color Codes
Hex Code #bc0caa
RGB Code rgb(188, 12, 170)
HSL Code hsl(306, 88%, 39%)

#bc0caa Color Syntax

rgb()

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

 main {
    background-color: rgb(188, 12, 170);
   }

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(306, 88%, 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 #bc0caa

RGB Code Hex Code Preview
rgb(188, 12, 170, 10%) #bc0caa1a  
rgb(188, 12, 170, 20%) #bc0caa33  
rgb(188, 12, 170, 40%) #bc0caa4C  
rgb(188, 12, 170, 60%) #bc0caa99  
rgb(188, 12, 170, 80%) #bc0caaCC  
rgb(188, 12, 170, 100%) #bc0caaFF  

Saturated and desaturated colors of #bc0caa

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

#bc0caa Color Usage In CSS

 body {
    color: #bc0caa;
    }
 p {
    color: rgb(188, 12, 170);
    }
 header {
    border-bottom:1px solid #bc0caa;
    }
Recent Random Colors