Random Color Generator

#955aaa Color

Color Codes
Hex Code #955aaa
RGB Code rgb(149, 90, 170)
HSL Code hsl(284, 32%, 51%)

#955aaa Color Syntax

rgb()

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

 main {
    background-color: rgb(149, 90, 170);
   }

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(284, 32%, 51%);
  }

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 #955aaa

RGB Code Hex Code Preview
rgb(149, 90, 170, 10%) #955aaa1a  
rgb(149, 90, 170, 20%) #955aaa33  
rgb(149, 90, 170, 40%) #955aaa4C  
rgb(149, 90, 170, 60%) #955aaa99  
rgb(149, 90, 170, 80%) #955aaaCC  
rgb(149, 90, 170, 100%) #955aaaFF  

Saturated and desaturated colors of #955aaa

HSL Code Preview
hsl(284, 10%, 51%)  
hsl(284, 20%, 51%)  
hsl(284, 40%, 51%)  
hsl(284, 60%, 51%)  
hsl(284, 80%, 51%)  
hsl(284, 100%, 51%)  

#955aaa Color Usage In CSS

 body {
    color: #955aaa;
    }
 p {
    color: rgb(149, 90, 170);
    }
 header {
    border-bottom:1px solid #955aaa;
    }
Recent Random Colors