Random Color Generator

#504578 Color

Color Codes
Hex Code #504578
RGB Code rgb(80, 69, 120)
HSL Code hsl(253, 27%, 37%)

#504578 Color Syntax

rgb()

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

 main {
    background-color: rgb(80, 69, 120);
   }

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(253, 27%, 37%);
  }

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

RGB Code Hex Code Preview
rgb(80, 69, 120, 10%) #5045781a  
rgb(80, 69, 120, 20%) #50457833  
rgb(80, 69, 120, 40%) #5045784C  
rgb(80, 69, 120, 60%) #50457899  
rgb(80, 69, 120, 80%) #504578CC  
rgb(80, 69, 120, 100%) #504578FF  

Saturated and desaturated colors of #504578

HSL Code Preview
hsl(253, 10%, 37%)  
hsl(253, 20%, 37%)  
hsl(253, 40%, 37%)  
hsl(253, 60%, 37%)  
hsl(253, 80%, 37%)  
hsl(253, 100%, 37%)  

#504578 Color Usage In CSS

 body {
    color: #504578;
    }
 p {
    color: rgb(80, 69, 120);
    }
 header {
    border-bottom:1px solid #504578;
    }
Recent Random Colors