Random Color Generator

#59599b Color

Color Codes
Hex Code #59599b
RGB Code rgb(89, 89, 155)
HSL Code hsl(240, 27%, 48%)

#59599b Color Syntax

rgb()

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

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

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(240, 27%, 48%);
  }

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 #59599b

RGB Code Hex Code Preview
rgb(89, 89, 155, 10%) #59599b1a  
rgb(89, 89, 155, 20%) #59599b33  
rgb(89, 89, 155, 40%) #59599b4C  
rgb(89, 89, 155, 60%) #59599b99  
rgb(89, 89, 155, 80%) #59599bCC  
rgb(89, 89, 155, 100%) #59599bFF  

Saturated and desaturated colors of #59599b

HSL Code Preview
hsl(240, 10%, 48%)  
hsl(240, 20%, 48%)  
hsl(240, 40%, 48%)  
hsl(240, 60%, 48%)  
hsl(240, 80%, 48%)  
hsl(240, 100%, 48%)  

#59599b Color Usage In CSS

 body {
    color: #59599b;
    }
 p {
    color: rgb(89, 89, 155);
    }
 header {
    border-bottom:1px solid #59599b;
    }
Recent Random Colors