Random Color Generator

#bd45ac Color

Color Codes
Hex Code #bd45ac
RGB Code rgb(189, 69, 172)
HSL Code hsl(309, 48%, 51%)

#bd45ac Color Syntax

rgb()

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

 main {
    background-color: rgb(189, 69, 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, 48%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(189, 69, 172, 10%) #bd45ac1a  
rgb(189, 69, 172, 20%) #bd45ac33  
rgb(189, 69, 172, 40%) #bd45ac4C  
rgb(189, 69, 172, 60%) #bd45ac99  
rgb(189, 69, 172, 80%) #bd45acCC  
rgb(189, 69, 172, 100%) #bd45acFF  

Saturated and desaturated colors of #bd45ac

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

#bd45ac Color Usage In CSS

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