Random Color Generator

#8334ed Color

Color Codes
Hex Code #8334ed
RGB Code rgb(131, 52, 237)
HSL Code hsl(266, 84%, 57%)

#8334ed Color Syntax

rgb()

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

 main {
    background-color: rgb(131, 52, 237);
   }

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(266, 84%, 57%);
  }

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 #8334ed

RGB Code Hex Code Preview
rgb(131, 52, 237, 10%) #8334ed1a  
rgb(131, 52, 237, 20%) #8334ed33  
rgb(131, 52, 237, 40%) #8334ed4C  
rgb(131, 52, 237, 60%) #8334ed99  
rgb(131, 52, 237, 80%) #8334edCC  
rgb(131, 52, 237, 100%) #8334edFF  

Saturated and desaturated colors of #8334ed

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

#8334ed Color Usage In CSS

 body {
    color: #8334ed;
    }
 p {
    color: rgb(131, 52, 237);
    }
 header {
    border-bottom:1px solid #8334ed;
    }
Recent Random Colors