Random Color Generator

#bd51ac Color

Color Codes
Hex Code #bd51ac
RGB Code rgb(189, 81, 172)
HSL Code hsl(309, 45%, 53%)

#bd51ac Color Syntax

rgb()

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

 main {
    background-color: rgb(189, 81, 172);
   }

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(309, 45%, 53%);
  }

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

RGB Code Hex Code Preview
rgb(189, 81, 172, 10%) #bd51ac1a  
rgb(189, 81, 172, 20%) #bd51ac33  
rgb(189, 81, 172, 40%) #bd51ac4C  
rgb(189, 81, 172, 60%) #bd51ac99  
rgb(189, 81, 172, 80%) #bd51acCC  
rgb(189, 81, 172, 100%) #bd51acFF  

Saturated and desaturated colors of #bd51ac

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

#bd51ac Color Usage In CSS

 body {
    color: #bd51ac;
    }
 p {
    color: rgb(189, 81, 172);
    }
 header {
    border-bottom:1px solid #bd51ac;
    }
Recent Random Colors