Random Color Generator

#bb45c1 Color

Color Codes
Hex Code #bb45c1
RGB Code rgb(187, 69, 193)
HSL Code hsl(297, 50%, 51%)

#bb45c1 Color Syntax

rgb()

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

 main {
    background-color: rgb(187, 69, 193);
   }

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(297, 50%, 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 #bb45c1

RGB Code Hex Code Preview
rgb(187, 69, 193, 10%) #bb45c11a  
rgb(187, 69, 193, 20%) #bb45c133  
rgb(187, 69, 193, 40%) #bb45c14C  
rgb(187, 69, 193, 60%) #bb45c199  
rgb(187, 69, 193, 80%) #bb45c1CC  
rgb(187, 69, 193, 100%) #bb45c1FF  

Saturated and desaturated colors of #bb45c1

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

#bb45c1 Color Usage In CSS

 body {
    color: #bb45c1;
    }
 p {
    color: rgb(187, 69, 193);
    }
 header {
    border-bottom:1px solid #bb45c1;
    }
Recent Random Colors