Random Color Generator

#b50784 Color

Color Codes
Hex Code #b50784
RGB Code rgb(181, 07, 132)
HSL Code hsl(317, 93%, 37%)

#b50784 Color Syntax

rgb()

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

 main {
    background-color: rgb(181, 07, 132);
   }

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(317, 93%, 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 #b50784

RGB Code Hex Code Preview
rgb(181, 07, 132, 10%) #b507841a  
rgb(181, 07, 132, 20%) #b5078433  
rgb(181, 07, 132, 40%) #b507844C  
rgb(181, 07, 132, 60%) #b5078499  
rgb(181, 07, 132, 80%) #b50784CC  
rgb(181, 07, 132, 100%) #b50784FF  

Saturated and desaturated colors of #b50784

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

#b50784 Color Usage In CSS

 body {
    color: #b50784;
    }
 p {
    color: rgb(181, 07, 132);
    }
 header {
    border-bottom:1px solid #b50784;
    }
Recent Random Colors