Random Color Generator

#b50f4e Color

Color Codes
Hex Code #b50f4e
RGB Code rgb(181, 15, 78)
HSL Code hsl(337, 85%, 38%)

#b50f4e Color Syntax

rgb()

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

 main {
    background-color: rgb(181, 15, 78);
   }

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, 85%, 38%);
  }

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

RGB Code Hex Code Preview
rgb(181, 15, 78, 10%) #b50f4e1a  
rgb(181, 15, 78, 20%) #b50f4e33  
rgb(181, 15, 78, 40%) #b50f4e4C  
rgb(181, 15, 78, 60%) #b50f4e99  
rgb(181, 15, 78, 80%) #b50f4eCC  
rgb(181, 15, 78, 100%) #b50f4eFF  

Saturated and desaturated colors of #b50f4e

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

#b50f4e Color Usage In CSS

 body {
    color: #b50f4e;
    }
 p {
    color: rgb(181, 15, 78);
    }
 header {
    border-bottom:1px solid #b50f4e;
    }
Recent Random Colors