Random Color Generator

#7a002c Color

Color Codes
Hex Code #7a002c
RGB Code rgb(122, 00, 44)
HSL Code hsl(338, 100%, 24%)

#7a002c Color Syntax

rgb()

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

 main {
    background-color: rgb(122, 00, 44);
   }

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(338, 100%, 24%);
  }

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

RGB Code Hex Code Preview
rgb(122, 00, 44, 10%) #7a002c1a  
rgb(122, 00, 44, 20%) #7a002c33  
rgb(122, 00, 44, 40%) #7a002c4C  
rgb(122, 00, 44, 60%) #7a002c99  
rgb(122, 00, 44, 80%) #7a002cCC  
rgb(122, 00, 44, 100%) #7a002cFF  

Saturated and desaturated colors of #7a002c

HSL Code Preview
hsl(338, 10%, 24%)  
hsl(338, 20%, 24%)  
hsl(338, 40%, 24%)  
hsl(338, 60%, 24%)  
hsl(338, 80%, 24%)  
hsl(338, 100%, 24%)  

#7a002c Color Usage In CSS

 body {
    color: #7a002c;
    }
 p {
    color: rgb(122, 00, 44);
    }
 header {
    border-bottom:1px solid #7a002c;
    }
Recent Random Colors