Random Color Generator

#954baf Color

Color Codes
Hex Code #954baf
RGB Code rgb(149, 75, 175)
HSL Code hsl(284, 40%, 49%)

#954baf Color Syntax

rgb()

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

 main {
    background-color: rgb(149, 75, 175);
   }

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, 40%, 49%);
  }

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 #954baf

RGB Code Hex Code Preview
rgb(149, 75, 175, 10%) #954baf1a  
rgb(149, 75, 175, 20%) #954baf33  
rgb(149, 75, 175, 40%) #954baf4C  
rgb(149, 75, 175, 60%) #954baf99  
rgb(149, 75, 175, 80%) #954bafCC  
rgb(149, 75, 175, 100%) #954bafFF  

Saturated and desaturated colors of #954baf

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

#954baf Color Usage In CSS

 body {
    color: #954baf;
    }
 p {
    color: rgb(149, 75, 175);
    }
 header {
    border-bottom:1px solid #954baf;
    }
Recent Random Colors