Random Color Generator

#8036b7 Color

Color Codes
Hex Code #8036b7
RGB Code rgb(128, 54, 183)
HSL Code hsl(274, 54%, 46%)

#8036b7 Color Syntax

rgb()

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

 main {
    background-color: rgb(128, 54, 183);
   }

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(274, 54%, 46%);
  }

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 #8036b7

RGB Code Hex Code Preview
rgb(128, 54, 183, 10%) #8036b71a  
rgb(128, 54, 183, 20%) #8036b733  
rgb(128, 54, 183, 40%) #8036b74C  
rgb(128, 54, 183, 60%) #8036b799  
rgb(128, 54, 183, 80%) #8036b7CC  
rgb(128, 54, 183, 100%) #8036b7FF  

Saturated and desaturated colors of #8036b7

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

#8036b7 Color Usage In CSS

 body {
    color: #8036b7;
    }
 p {
    color: rgb(128, 54, 183);
    }
 header {
    border-bottom:1px solid #8036b7;
    }
Recent Random Colors