Random Color Generator

#d8103b Color

Color Codes
Hex Code #d8103b
RGB Code rgb(216, 16, 59)
HSL Code hsl(347, 86%, 45%)

#d8103b Color Syntax

rgb()

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

 main {
    background-color: rgb(216, 16, 59);
   }

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(347, 86%, 45%);
  }

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

RGB Code Hex Code Preview
rgb(216, 16, 59, 10%) #d8103b1a  
rgb(216, 16, 59, 20%) #d8103b33  
rgb(216, 16, 59, 40%) #d8103b4C  
rgb(216, 16, 59, 60%) #d8103b99  
rgb(216, 16, 59, 80%) #d8103bCC  
rgb(216, 16, 59, 100%) #d8103bFF  

Saturated and desaturated colors of #d8103b

HSL Code Preview
hsl(347, 10%, 45%)  
hsl(347, 20%, 45%)  
hsl(347, 40%, 45%)  
hsl(347, 60%, 45%)  
hsl(347, 80%, 45%)  
hsl(347, 100%, 45%)  

#d8103b Color Usage In CSS

 body {
    color: #d8103b;
    }
 p {
    color: rgb(216, 16, 59);
    }
 header {
    border-bottom:1px solid #d8103b;
    }
Recent Random Colors