Random Color Generator

#740d6c Color

Color Codes
Hex Code #740d6c
RGB Code rgb(116, 13, 108)
HSL Code hsl(305, 80%, 25%)

#740d6c Color Syntax

rgb()

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

 main {
    background-color: rgb(116, 13, 108);
   }

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(305, 80%, 25%);
  }

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 #740d6c

RGB Code Hex Code Preview
rgb(116, 13, 108, 10%) #740d6c1a  
rgb(116, 13, 108, 20%) #740d6c33  
rgb(116, 13, 108, 40%) #740d6c4C  
rgb(116, 13, 108, 60%) #740d6c99  
rgb(116, 13, 108, 80%) #740d6cCC  
rgb(116, 13, 108, 100%) #740d6cFF  

Saturated and desaturated colors of #740d6c

HSL Code Preview
hsl(305, 10%, 25%)  
hsl(305, 20%, 25%)  
hsl(305, 40%, 25%)  
hsl(305, 60%, 25%)  
hsl(305, 80%, 25%)  
hsl(305, 100%, 25%)  

#740d6c Color Usage In CSS

 body {
    color: #740d6c;
    }
 p {
    color: rgb(116, 13, 108);
    }
 header {
    border-bottom:1px solid #740d6c;
    }
Recent Random Colors