Random Color Generator

#d371a8 Color

Color Codes
Hex Code #d371a8
RGB Code rgb(211, 113, 168)
HSL Code hsl(326, 53%, 64%)

#d371a8 Color Syntax

rgb()

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

 main {
    background-color: rgb(211, 113, 168);
   }

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(326, 53%, 64%);
  }

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

RGB Code Hex Code Preview
rgb(211, 113, 168, 10%) #d371a81a  
rgb(211, 113, 168, 20%) #d371a833  
rgb(211, 113, 168, 40%) #d371a84C  
rgb(211, 113, 168, 60%) #d371a899  
rgb(211, 113, 168, 80%) #d371a8CC  
rgb(211, 113, 168, 100%) #d371a8FF  

Saturated and desaturated colors of #d371a8

HSL Code Preview
hsl(326, 10%, 64%)  
hsl(326, 20%, 64%)  
hsl(326, 40%, 64%)  
hsl(326, 60%, 64%)  
hsl(326, 80%, 64%)  
hsl(326, 100%, 64%)  

#d371a8 Color Usage In CSS

 body {
    color: #d371a8;
    }
 p {
    color: rgb(211, 113, 168);
    }
 header {
    border-bottom:1px solid #d371a8;
    }
Recent Random Colors