Random Color Generator

#bc0fba Color

Color Codes
Hex Code #bc0fba
RGB Code rgb(188, 15, 186)
HSL Code hsl(301, 85%, 40%)

#bc0fba Color Syntax

rgb()

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

 main {
    background-color: rgb(188, 15, 186);
   }

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(301, 85%, 40%);
  }

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

RGB Code Hex Code Preview
rgb(188, 15, 186, 10%) #bc0fba1a  
rgb(188, 15, 186, 20%) #bc0fba33  
rgb(188, 15, 186, 40%) #bc0fba4C  
rgb(188, 15, 186, 60%) #bc0fba99  
rgb(188, 15, 186, 80%) #bc0fbaCC  
rgb(188, 15, 186, 100%) #bc0fbaFF  

Saturated and desaturated colors of #bc0fba

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

#bc0fba Color Usage In CSS

 body {
    color: #bc0fba;
    }
 p {
    color: rgb(188, 15, 186);
    }
 header {
    border-bottom:1px solid #bc0fba;
    }
Recent Random Colors