Random Color Generator

#bb507f Color

Color Codes
Hex Code #bb507f
RGB Code rgb(187, 80, 127)
HSL Code hsl(334, 44%, 52%)

#bb507f Color Syntax

rgb()

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

 main {
    background-color: rgb(187, 80, 127);
   }

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(334, 44%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(187, 80, 127, 10%) #bb507f1a  
rgb(187, 80, 127, 20%) #bb507f33  
rgb(187, 80, 127, 40%) #bb507f4C  
rgb(187, 80, 127, 60%) #bb507f99  
rgb(187, 80, 127, 80%) #bb507fCC  
rgb(187, 80, 127, 100%) #bb507fFF  

Saturated and desaturated colors of #bb507f

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

#bb507f Color Usage In CSS

 body {
    color: #bb507f;
    }
 p {
    color: rgb(187, 80, 127);
    }
 header {
    border-bottom:1px solid #bb507f;
    }
Recent Random Colors