Random Color Generator

#951e58 Color

Color Codes
Hex Code #951e58
RGB Code rgb(149, 30, 88)
HSL Code hsl(331, 66%, 35%)

#951e58 Color Syntax

rgb()

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

 main {
    background-color: rgb(149, 30, 88);
   }

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(331, 66%, 35%);
  }

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 #951e58

RGB Code Hex Code Preview
rgb(149, 30, 88, 10%) #951e581a  
rgb(149, 30, 88, 20%) #951e5833  
rgb(149, 30, 88, 40%) #951e584C  
rgb(149, 30, 88, 60%) #951e5899  
rgb(149, 30, 88, 80%) #951e58CC  
rgb(149, 30, 88, 100%) #951e58FF  

Saturated and desaturated colors of #951e58

HSL Code Preview
hsl(331, 10%, 35%)  
hsl(331, 20%, 35%)  
hsl(331, 40%, 35%)  
hsl(331, 60%, 35%)  
hsl(331, 80%, 35%)  
hsl(331, 100%, 35%)  

#951e58 Color Usage In CSS

 body {
    color: #951e58;
    }
 p {
    color: rgb(149, 30, 88);
    }
 header {
    border-bottom:1px solid #951e58;
    }
Recent Random Colors