Random Color Generator

#db2551 Color

Color Codes
Hex Code #db2551
RGB Code rgb(219, 37, 81)
HSL Code hsl(345, 72%, 50%)

#db2551 Color Syntax

rgb()

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

 main {
    background-color: rgb(219, 37, 81);
   }

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, 72%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(219, 37, 81, 10%) #db25511a  
rgb(219, 37, 81, 20%) #db255133  
rgb(219, 37, 81, 40%) #db25514C  
rgb(219, 37, 81, 60%) #db255199  
rgb(219, 37, 81, 80%) #db2551CC  
rgb(219, 37, 81, 100%) #db2551FF  

Saturated and desaturated colors of #db2551

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

#db2551 Color Usage In CSS

 body {
    color: #db2551;
    }
 p {
    color: rgb(219, 37, 81);
    }
 header {
    border-bottom:1px solid #db2551;
    }
Recent Random Colors