Random Color Generator

#514599 Color

Color Codes
Hex Code #514599
RGB Code rgb(81, 69, 153)
HSL Code hsl(249, 38%, 44%)

#514599 Color Syntax

rgb()

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

 main {
    background-color: rgb(81, 69, 153);
   }

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(249, 38%, 44%);
  }

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 #514599

RGB Code Hex Code Preview
rgb(81, 69, 153, 10%) #5145991a  
rgb(81, 69, 153, 20%) #51459933  
rgb(81, 69, 153, 40%) #5145994C  
rgb(81, 69, 153, 60%) #51459999  
rgb(81, 69, 153, 80%) #514599CC  
rgb(81, 69, 153, 100%) #514599FF  

Saturated and desaturated colors of #514599

HSL Code Preview
hsl(249, 10%, 44%)  
hsl(249, 20%, 44%)  
hsl(249, 40%, 44%)  
hsl(249, 60%, 44%)  
hsl(249, 80%, 44%)  
hsl(249, 100%, 44%)  

#514599 Color Usage In CSS

 body {
    color: #514599;
    }
 p {
    color: rgb(81, 69, 153);
    }
 header {
    border-bottom:1px solid #514599;
    }
Recent Random Colors