Random Color Generator

#d62dca Color

Color Codes
Hex Code #d62dca
RGB Code rgb(214, 45, 202)
HSL Code hsl(304, 67%, 51%)

#d62dca Color Syntax

rgb()

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

 main {
    background-color: rgb(214, 45, 202);
   }

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(304, 67%, 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 #d62dca

RGB Code Hex Code Preview
rgb(214, 45, 202, 10%) #d62dca1a  
rgb(214, 45, 202, 20%) #d62dca33  
rgb(214, 45, 202, 40%) #d62dca4C  
rgb(214, 45, 202, 60%) #d62dca99  
rgb(214, 45, 202, 80%) #d62dcaCC  
rgb(214, 45, 202, 100%) #d62dcaFF  

Saturated and desaturated colors of #d62dca

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

#d62dca Color Usage In CSS

 body {
    color: #d62dca;
    }
 p {
    color: rgb(214, 45, 202);
    }
 header {
    border-bottom:1px solid #d62dca;
    }
Recent Random Colors