Random Color Generator

#8985e2 Color

Color Codes
Hex Code #8985e2
RGB Code rgb(137, 133, 226)
HSL Code hsl(243, 62%, 70%)

#8985e2 Color Syntax

rgb()

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

 main {
    background-color: rgb(137, 133, 226);
   }

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(243, 62%, 70%);
  }

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 #8985e2

RGB Code Hex Code Preview
rgb(137, 133, 226, 10%) #8985e21a  
rgb(137, 133, 226, 20%) #8985e233  
rgb(137, 133, 226, 40%) #8985e24C  
rgb(137, 133, 226, 60%) #8985e299  
rgb(137, 133, 226, 80%) #8985e2CC  
rgb(137, 133, 226, 100%) #8985e2FF  

Saturated and desaturated colors of #8985e2

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

#8985e2 Color Usage In CSS

 body {
    color: #8985e2;
    }
 p {
    color: rgb(137, 133, 226);
    }
 header {
    border-bottom:1px solid #8985e2;
    }
Recent Random Colors