Random Color Generator

#9698f0 Color

Color Codes
Hex Code #9698f0
RGB Code rgb(150, 152, 240)
HSL Code hsl(239, 75%, 76%)

#9698f0 Color Syntax

rgb()

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

 main {
    background-color: rgb(150, 152, 240);
   }

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(239, 75%, 76%);
  }

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 #9698f0

RGB Code Hex Code Preview
rgb(150, 152, 240, 10%) #9698f01a  
rgb(150, 152, 240, 20%) #9698f033  
rgb(150, 152, 240, 40%) #9698f04C  
rgb(150, 152, 240, 60%) #9698f099  
rgb(150, 152, 240, 80%) #9698f0CC  
rgb(150, 152, 240, 100%) #9698f0FF  

Saturated and desaturated colors of #9698f0

HSL Code Preview
hsl(239, 10%, 76%)  
hsl(239, 20%, 76%)  
hsl(239, 40%, 76%)  
hsl(239, 60%, 76%)  
hsl(239, 80%, 76%)  
hsl(239, 100%, 76%)  

#9698f0 Color Usage In CSS

 body {
    color: #9698f0;
    }
 p {
    color: rgb(150, 152, 240);
    }
 header {
    border-bottom:1px solid #9698f0;
    }
Recent Random Colors