Random Color Generator

#96288c Color

Color Codes
Hex Code #96288c
RGB Code rgb(150, 40, 140)
HSL Code hsl(305, 58%, 37%)

#96288c Color Syntax

rgb()

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

 main {
    background-color: rgb(150, 40, 140);
   }

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(305, 58%, 37%);
  }

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 #96288c

RGB Code Hex Code Preview
rgb(150, 40, 140, 10%) #96288c1a  
rgb(150, 40, 140, 20%) #96288c33  
rgb(150, 40, 140, 40%) #96288c4C  
rgb(150, 40, 140, 60%) #96288c99  
rgb(150, 40, 140, 80%) #96288cCC  
rgb(150, 40, 140, 100%) #96288cFF  

Saturated and desaturated colors of #96288c

HSL Code Preview
hsl(305, 10%, 37%)  
hsl(305, 20%, 37%)  
hsl(305, 40%, 37%)  
hsl(305, 60%, 37%)  
hsl(305, 80%, 37%)  
hsl(305, 100%, 37%)  

#96288c Color Usage In CSS

 body {
    color: #96288c;
    }
 p {
    color: rgb(150, 40, 140);
    }
 header {
    border-bottom:1px solid #96288c;
    }
Recent Random Colors