Random Color Generator

#9474d9 Color

Color Codes
Hex Code #9474d9
RGB Code rgb(148, 116, 217)
HSL Code hsl(259, 57%, 65%)

#9474d9 Color Syntax

rgb()

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

 main {
    background-color: rgb(148, 116, 217);
   }

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(259, 57%, 65%);
  }

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 #9474d9

RGB Code Hex Code Preview
rgb(148, 116, 217, 10%) #9474d91a  
rgb(148, 116, 217, 20%) #9474d933  
rgb(148, 116, 217, 40%) #9474d94C  
rgb(148, 116, 217, 60%) #9474d999  
rgb(148, 116, 217, 80%) #9474d9CC  
rgb(148, 116, 217, 100%) #9474d9FF  

Saturated and desaturated colors of #9474d9

HSL Code Preview
hsl(259, 10%, 65%)  
hsl(259, 20%, 65%)  
hsl(259, 40%, 65%)  
hsl(259, 60%, 65%)  
hsl(259, 80%, 65%)  
hsl(259, 100%, 65%)  

#9474d9 Color Usage In CSS

 body {
    color: #9474d9;
    }
 p {
    color: rgb(148, 116, 217);
    }
 header {
    border-bottom:1px solid #9474d9;
    }
Recent Random Colors