Random Color Generator

#b50c23 Color

Color Codes
Hex Code #b50c23
RGB Code rgb(181, 12, 35)
HSL Code hsl(352, 88%, 38%)

#b50c23 Color Syntax

rgb()

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

 main {
    background-color: rgb(181, 12, 35);
   }

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(352, 88%, 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 #b50c23

RGB Code Hex Code Preview
rgb(181, 12, 35, 10%) #b50c231a  
rgb(181, 12, 35, 20%) #b50c2333  
rgb(181, 12, 35, 40%) #b50c234C  
rgb(181, 12, 35, 60%) #b50c2399  
rgb(181, 12, 35, 80%) #b50c23CC  
rgb(181, 12, 35, 100%) #b50c23FF  

Saturated and desaturated colors of #b50c23

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

#b50c23 Color Usage In CSS

 body {
    color: #b50c23;
    }
 p {
    color: rgb(181, 12, 35);
    }
 header {
    border-bottom:1px solid #b50c23;
    }
Recent Random Colors