Random Color Generator

#59287c Color

Color Codes
Hex Code #59287c
RGB Code rgb(89, 40, 124)
HSL Code hsl(275, 51%, 32%)

#59287c Color Syntax

rgb()

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

 main {
    background-color: rgb(89, 40, 124);
   }

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

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

RGB Code Hex Code Preview
rgb(89, 40, 124, 10%) #59287c1a  
rgb(89, 40, 124, 20%) #59287c33  
rgb(89, 40, 124, 40%) #59287c4C  
rgb(89, 40, 124, 60%) #59287c99  
rgb(89, 40, 124, 80%) #59287cCC  
rgb(89, 40, 124, 100%) #59287cFF  

Saturated and desaturated colors of #59287c

HSL Code Preview
hsl(275, 10%, 32%)  
hsl(275, 20%, 32%)  
hsl(275, 40%, 32%)  
hsl(275, 60%, 32%)  
hsl(275, 80%, 32%)  
hsl(275, 100%, 32%)  

#59287c Color Usage In CSS

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