Random Color Generator

#b43261 Color

Color Codes
Hex Code #b43261
RGB Code rgb(180, 50, 97)
HSL Code hsl(338, 57%, 45%)

#b43261 Color Syntax

rgb()

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

 main {
    background-color: rgb(180, 50, 97);
   }

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(338, 57%, 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 #b43261

RGB Code Hex Code Preview
rgb(180, 50, 97, 10%) #b432611a  
rgb(180, 50, 97, 20%) #b4326133  
rgb(180, 50, 97, 40%) #b432614C  
rgb(180, 50, 97, 60%) #b4326199  
rgb(180, 50, 97, 80%) #b43261CC  
rgb(180, 50, 97, 100%) #b43261FF  

Saturated and desaturated colors of #b43261

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

#b43261 Color Usage In CSS

 body {
    color: #b43261;
    }
 p {
    color: rgb(180, 50, 97);
    }
 header {
    border-bottom:1px solid #b43261;
    }
Recent Random Colors