Random Color Generator

#d12279 Color

Color Codes
Hex Code #d12279
RGB Code rgb(209, 34, 121)
HSL Code hsl(330, 72%, 48%)

#d12279 Color Syntax

rgb()

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

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

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(330, 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 #d12279

RGB Code Hex Code Preview
rgb(209, 34, 121, 10%) #d122791a  
rgb(209, 34, 121, 20%) #d1227933  
rgb(209, 34, 121, 40%) #d122794C  
rgb(209, 34, 121, 60%) #d1227999  
rgb(209, 34, 121, 80%) #d12279CC  
rgb(209, 34, 121, 100%) #d12279FF  

Saturated and desaturated colors of #d12279

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

#d12279 Color Usage In CSS

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