Random Color Generator

#843896 Color

Color Codes
Hex Code #843896
RGB Code rgb(132, 56, 150)
HSL Code hsl(289, 46%, 40%)

#843896 Color Syntax

rgb()

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

 main {
    background-color: rgb(132, 56, 150);
   }

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(289, 46%, 40%);
  }

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

RGB Code Hex Code Preview
rgb(132, 56, 150, 10%) #8438961a  
rgb(132, 56, 150, 20%) #84389633  
rgb(132, 56, 150, 40%) #8438964C  
rgb(132, 56, 150, 60%) #84389699  
rgb(132, 56, 150, 80%) #843896CC  
rgb(132, 56, 150, 100%) #843896FF  

Saturated and desaturated colors of #843896

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

#843896 Color Usage In CSS

 body {
    color: #843896;
    }
 p {
    color: rgb(132, 56, 150);
    }
 header {
    border-bottom:1px solid #843896;
    }
Recent Random Colors