Random Color Generator

#9064b2 Color

Color Codes
Hex Code #9064b2
RGB Code rgb(144, 100, 178)
HSL Code hsl(274, 34%, 55%)

#9064b2 Color Syntax

rgb()

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

 main {
    background-color: rgb(144, 100, 178);
   }

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(274, 34%, 55%);
  }

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 #9064b2

RGB Code Hex Code Preview
rgb(144, 100, 178, 10%) #9064b21a  
rgb(144, 100, 178, 20%) #9064b233  
rgb(144, 100, 178, 40%) #9064b24C  
rgb(144, 100, 178, 60%) #9064b299  
rgb(144, 100, 178, 80%) #9064b2CC  
rgb(144, 100, 178, 100%) #9064b2FF  

Saturated and desaturated colors of #9064b2

HSL Code Preview
hsl(274, 10%, 55%)  
hsl(274, 20%, 55%)  
hsl(274, 40%, 55%)  
hsl(274, 60%, 55%)  
hsl(274, 80%, 55%)  
hsl(274, 100%, 55%)  

#9064b2 Color Usage In CSS

 body {
    color: #9064b2;
    }
 p {
    color: rgb(144, 100, 178);
    }
 header {
    border-bottom:1px solid #9064b2;
    }
Recent Random Colors