Random Color Generator

#d122a0 Color

Color Codes
Hex Code #d122a0
RGB Code rgb(209, 34, 160)
HSL Code hsl(317, 72%, 48%)

#d122a0 Color Syntax

rgb()

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

 main {
    background-color: rgb(209, 34, 160);
   }

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(317, 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 #d122a0

RGB Code Hex Code Preview
rgb(209, 34, 160, 10%) #d122a01a  
rgb(209, 34, 160, 20%) #d122a033  
rgb(209, 34, 160, 40%) #d122a04C  
rgb(209, 34, 160, 60%) #d122a099  
rgb(209, 34, 160, 80%) #d122a0CC  
rgb(209, 34, 160, 100%) #d122a0FF  

Saturated and desaturated colors of #d122a0

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

#d122a0 Color Usage In CSS

 body {
    color: #d122a0;
    }
 p {
    color: rgb(209, 34, 160);
    }
 header {
    border-bottom:1px solid #d122a0;
    }
Recent Random Colors