Random Color Generator

#d82b71 Color

Color Codes
Hex Code #d82b71
RGB Code rgb(216, 43, 113)
HSL Code hsl(336, 69%, 51%)

#d82b71 Color Syntax

rgb()

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

 main {
    background-color: rgb(216, 43, 113);
   }

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(336, 69%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(216, 43, 113, 10%) #d82b711a  
rgb(216, 43, 113, 20%) #d82b7133  
rgb(216, 43, 113, 40%) #d82b714C  
rgb(216, 43, 113, 60%) #d82b7199  
rgb(216, 43, 113, 80%) #d82b71CC  
rgb(216, 43, 113, 100%) #d82b71FF  

Saturated and desaturated colors of #d82b71

HSL Code Preview
hsl(336, 10%, 51%)  
hsl(336, 20%, 51%)  
hsl(336, 40%, 51%)  
hsl(336, 60%, 51%)  
hsl(336, 80%, 51%)  
hsl(336, 100%, 51%)  

#d82b71 Color Usage In CSS

 body {
    color: #d82b71;
    }
 p {
    color: rgb(216, 43, 113);
    }
 header {
    border-bottom:1px solid #d82b71;
    }
Recent Random Colors