Random Color Generator

#b137ad Color

Color Codes
Hex Code #b137ad
RGB Code rgb(177, 55, 173)
HSL Code hsl(302, 53%, 45%)

#b137ad Color Syntax

rgb()

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

 main {
    background-color: rgb(177, 55, 173);
   }

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

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

RGB Code Hex Code Preview
rgb(177, 55, 173, 10%) #b137ad1a  
rgb(177, 55, 173, 20%) #b137ad33  
rgb(177, 55, 173, 40%) #b137ad4C  
rgb(177, 55, 173, 60%) #b137ad99  
rgb(177, 55, 173, 80%) #b137adCC  
rgb(177, 55, 173, 100%) #b137adFF  

Saturated and desaturated colors of #b137ad

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

#b137ad Color Usage In CSS

 body {
    color: #b137ad;
    }
 p {
    color: rgb(177, 55, 173);
    }
 header {
    border-bottom:1px solid #b137ad;
    }
Recent Random Colors