Random Color Generator

#50012b Color

Color Codes
Hex Code #50012b
RGB Code rgb(80, 01, 43)
HSL Code hsl(328, 98%, 16%)

#50012b Color Syntax

rgb()

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

 main {
    background-color: rgb(80, 01, 43);
   }

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(328, 98%, 16%);
  }

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 #50012b

RGB Code Hex Code Preview
rgb(80, 01, 43, 10%) #50012b1a  
rgb(80, 01, 43, 20%) #50012b33  
rgb(80, 01, 43, 40%) #50012b4C  
rgb(80, 01, 43, 60%) #50012b99  
rgb(80, 01, 43, 80%) #50012bCC  
rgb(80, 01, 43, 100%) #50012bFF  

Saturated and desaturated colors of #50012b

HSL Code Preview
hsl(328, 10%, 16%)  
hsl(328, 20%, 16%)  
hsl(328, 40%, 16%)  
hsl(328, 60%, 16%)  
hsl(328, 80%, 16%)  
hsl(328, 100%, 16%)  

#50012b Color Usage In CSS

 body {
    color: #50012b;
    }
 p {
    color: rgb(80, 01, 43);
    }
 header {
    border-bottom:1px solid #50012b;
    }
Recent Random Colors