Random Color Generator

#594fbf Color

Color Codes
Hex Code #594fbf
RGB Code rgb(89, 79, 191)
HSL Code hsl(245, 47%, 53%)

#594fbf Color Syntax

rgb()

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

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

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(245, 47%, 53%);
  }

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 #594fbf

RGB Code Hex Code Preview
rgb(89, 79, 191, 10%) #594fbf1a  
rgb(89, 79, 191, 20%) #594fbf33  
rgb(89, 79, 191, 40%) #594fbf4C  
rgb(89, 79, 191, 60%) #594fbf99  
rgb(89, 79, 191, 80%) #594fbfCC  
rgb(89, 79, 191, 100%) #594fbfFF  

Saturated and desaturated colors of #594fbf

HSL Code Preview
hsl(245, 10%, 53%)  
hsl(245, 20%, 53%)  
hsl(245, 40%, 53%)  
hsl(245, 60%, 53%)  
hsl(245, 80%, 53%)  
hsl(245, 100%, 53%)  

#594fbf Color Usage In CSS

 body {
    color: #594fbf;
    }
 p {
    color: rgb(89, 79, 191);
    }
 header {
    border-bottom:1px solid #594fbf;
    }
Recent Random Colors