Random Color Generator

#dc1b48 Color

Color Codes
Hex Code #dc1b48
RGB Code rgb(220, 27, 72)
HSL Code hsl(346, 78%, 48%)

#dc1b48 Color Syntax

rgb()

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

 main {
    background-color: rgb(220, 27, 72);
   }

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(346, 78%, 48%);
  }

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

RGB Code Hex Code Preview
rgb(220, 27, 72, 10%) #dc1b481a  
rgb(220, 27, 72, 20%) #dc1b4833  
rgb(220, 27, 72, 40%) #dc1b484C  
rgb(220, 27, 72, 60%) #dc1b4899  
rgb(220, 27, 72, 80%) #dc1b48CC  
rgb(220, 27, 72, 100%) #dc1b48FF  

Saturated and desaturated colors of #dc1b48

HSL Code Preview
hsl(346, 10%, 48%)  
hsl(346, 20%, 48%)  
hsl(346, 40%, 48%)  
hsl(346, 60%, 48%)  
hsl(346, 80%, 48%)  
hsl(346, 100%, 48%)  

#dc1b48 Color Usage In CSS

 body {
    color: #dc1b48;
    }
 p {
    color: rgb(220, 27, 72);
    }
 header {
    border-bottom:1px solid #dc1b48;
    }
Recent Random Colors