Random Color Generator

#752040 Color

Color Codes
Hex Code #752040
RGB Code rgb(117, 32, 64)
HSL Code hsl(337, 57%, 29%)

#752040 Color Syntax

rgb()

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

 main {
    background-color: rgb(117, 32, 64);
   }

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(337, 57%, 29%);
  }

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

RGB Code Hex Code Preview
rgb(117, 32, 64, 10%) #7520401a  
rgb(117, 32, 64, 20%) #75204033  
rgb(117, 32, 64, 40%) #7520404C  
rgb(117, 32, 64, 60%) #75204099  
rgb(117, 32, 64, 80%) #752040CC  
rgb(117, 32, 64, 100%) #752040FF  

Saturated and desaturated colors of #752040

HSL Code Preview
hsl(337, 10%, 29%)  
hsl(337, 20%, 29%)  
hsl(337, 40%, 29%)  
hsl(337, 60%, 29%)  
hsl(337, 80%, 29%)  
hsl(337, 100%, 29%)  

#752040 Color Usage In CSS

 body {
    color: #752040;
    }
 p {
    color: rgb(117, 32, 64);
    }
 header {
    border-bottom:1px solid #752040;
    }
Recent Random Colors