Random Color Generator

#d16fa5 Color

Color Codes
Hex Code #d16fa5
RGB Code rgb(209, 111, 165)
HSL Code hsl(327, 52%, 63%)

#d16fa5 Color Syntax

rgb()

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

 main {
    background-color: rgb(209, 111, 165);
   }

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(327, 52%, 63%);
  }

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

RGB Code Hex Code Preview
rgb(209, 111, 165, 10%) #d16fa51a  
rgb(209, 111, 165, 20%) #d16fa533  
rgb(209, 111, 165, 40%) #d16fa54C  
rgb(209, 111, 165, 60%) #d16fa599  
rgb(209, 111, 165, 80%) #d16fa5CC  
rgb(209, 111, 165, 100%) #d16fa5FF  

Saturated and desaturated colors of #d16fa5

HSL Code Preview
hsl(327, 10%, 63%)  
hsl(327, 20%, 63%)  
hsl(327, 40%, 63%)  
hsl(327, 60%, 63%)  
hsl(327, 80%, 63%)  
hsl(327, 100%, 63%)  

#d16fa5 Color Usage In CSS

 body {
    color: #d16fa5;
    }
 p {
    color: rgb(209, 111, 165);
    }
 header {
    border-bottom:1px solid #d16fa5;
    }
Recent Random Colors