Random Color Generator

#b50e38 Color

Color Codes
Hex Code #b50e38
RGB Code rgb(181, 14, 56)
HSL Code hsl(345, 86%, 38%)

#b50e38 Color Syntax

rgb()

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

 main {
    background-color: rgb(181, 14, 56);
   }

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(345, 86%, 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 #b50e38

RGB Code Hex Code Preview
rgb(181, 14, 56, 10%) #b50e381a  
rgb(181, 14, 56, 20%) #b50e3833  
rgb(181, 14, 56, 40%) #b50e384C  
rgb(181, 14, 56, 60%) #b50e3899  
rgb(181, 14, 56, 80%) #b50e38CC  
rgb(181, 14, 56, 100%) #b50e38FF  

Saturated and desaturated colors of #b50e38

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

#b50e38 Color Usage In CSS

 body {
    color: #b50e38;
    }
 p {
    color: rgb(181, 14, 56);
    }
 header {
    border-bottom:1px solid #b50e38;
    }
Recent Random Colors