Random Color Generator

#b4487d Color

Color Codes
Hex Code #b4487d
RGB Code rgb(180, 72, 125)
HSL Code hsl(331, 43%, 49%)

#b4487d Color Syntax

rgb()

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

 main {
    background-color: rgb(180, 72, 125);
   }

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(331, 43%, 49%);
  }

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

RGB Code Hex Code Preview
rgb(180, 72, 125, 10%) #b4487d1a  
rgb(180, 72, 125, 20%) #b4487d33  
rgb(180, 72, 125, 40%) #b4487d4C  
rgb(180, 72, 125, 60%) #b4487d99  
rgb(180, 72, 125, 80%) #b4487dCC  
rgb(180, 72, 125, 100%) #b4487dFF  

Saturated and desaturated colors of #b4487d

HSL Code Preview
hsl(331, 10%, 49%)  
hsl(331, 20%, 49%)  
hsl(331, 40%, 49%)  
hsl(331, 60%, 49%)  
hsl(331, 80%, 49%)  
hsl(331, 100%, 49%)  

#b4487d Color Usage In CSS

 body {
    color: #b4487d;
    }
 p {
    color: rgb(180, 72, 125);
    }
 header {
    border-bottom:1px solid #b4487d;
    }
Recent Random Colors