Random Color Generator

#d9132e Color

Color Codes
Hex Code #d9132e
RGB Code rgb(217, 19, 46)
HSL Code hsl(352, 84%, 46%)

#d9132e Color Syntax

rgb()

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

 main {
    background-color: rgb(217, 19, 46);
   }

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, 84%, 46%);
  }

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

RGB Code Hex Code Preview
rgb(217, 19, 46, 10%) #d9132e1a  
rgb(217, 19, 46, 20%) #d9132e33  
rgb(217, 19, 46, 40%) #d9132e4C  
rgb(217, 19, 46, 60%) #d9132e99  
rgb(217, 19, 46, 80%) #d9132eCC  
rgb(217, 19, 46, 100%) #d9132eFF  

Saturated and desaturated colors of #d9132e

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

#d9132e Color Usage In CSS

 body {
    color: #d9132e;
    }
 p {
    color: rgb(217, 19, 46);
    }
 header {
    border-bottom:1px solid #d9132e;
    }
Recent Random Colors