Random Color Generator

#5e366f Color

Color Codes
Hex Code #5e366f
RGB Code rgb(94, 54, 111)
HSL Code hsl(282, 35%, 32%)

#5e366f Color Syntax

rgb()

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

 main {
    background-color: rgb(94, 54, 111);
   }

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(282, 35%, 32%);
  }

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 #5e366f

RGB Code Hex Code Preview
rgb(94, 54, 111, 10%) #5e366f1a  
rgb(94, 54, 111, 20%) #5e366f33  
rgb(94, 54, 111, 40%) #5e366f4C  
rgb(94, 54, 111, 60%) #5e366f99  
rgb(94, 54, 111, 80%) #5e366fCC  
rgb(94, 54, 111, 100%) #5e366fFF  

Saturated and desaturated colors of #5e366f

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

#5e366f Color Usage In CSS

 body {
    color: #5e366f;
    }
 p {
    color: rgb(94, 54, 111);
    }
 header {
    border-bottom:1px solid #5e366f;
    }
Recent Random Colors