Random Color Generator

#d4225c Color

Color Codes
Hex Code #d4225c
RGB Code rgb(212, 34, 92)
HSL Code hsl(340, 72%, 48%)

#d4225c Color Syntax

rgb()

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

 main {
    background-color: rgb(212, 34, 92);
   }

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(340, 72%, 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 #d4225c

RGB Code Hex Code Preview
rgb(212, 34, 92, 10%) #d4225c1a  
rgb(212, 34, 92, 20%) #d4225c33  
rgb(212, 34, 92, 40%) #d4225c4C  
rgb(212, 34, 92, 60%) #d4225c99  
rgb(212, 34, 92, 80%) #d4225cCC  
rgb(212, 34, 92, 100%) #d4225cFF  

Saturated and desaturated colors of #d4225c

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

#d4225c Color Usage In CSS

 body {
    color: #d4225c;
    }
 p {
    color: rgb(212, 34, 92);
    }
 header {
    border-bottom:1px solid #d4225c;
    }
Recent Random Colors