Random Color Generator

#989bf6 Color

Color Codes
Hex Code #989bf6
RGB Code rgb(152, 155, 246)
HSL Code hsl(238, 84%, 78%)

#989bf6 Color Syntax

rgb()

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

 main {
    background-color: rgb(152, 155, 246);
   }

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(238, 84%, 78%);
  }

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 #989bf6

RGB Code Hex Code Preview
rgb(152, 155, 246, 10%) #989bf61a  
rgb(152, 155, 246, 20%) #989bf633  
rgb(152, 155, 246, 40%) #989bf64C  
rgb(152, 155, 246, 60%) #989bf699  
rgb(152, 155, 246, 80%) #989bf6CC  
rgb(152, 155, 246, 100%) #989bf6FF  

Saturated and desaturated colors of #989bf6

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

#989bf6 Color Usage In CSS

 body {
    color: #989bf6;
    }
 p {
    color: rgb(152, 155, 246);
    }
 header {
    border-bottom:1px solid #989bf6;
    }
Recent Random Colors