Random Color Generator

#d045c2 Color

Color Codes
Hex Code #d045c2
RGB Code rgb(208, 69, 194)
HSL Code hsl(306, 60%, 54%)

#d045c2 Color Syntax

rgb()

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

 main {
    background-color: rgb(208, 69, 194);
   }

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(306, 60%, 54%);
  }

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

RGB Code Hex Code Preview
rgb(208, 69, 194, 10%) #d045c21a  
rgb(208, 69, 194, 20%) #d045c233  
rgb(208, 69, 194, 40%) #d045c24C  
rgb(208, 69, 194, 60%) #d045c299  
rgb(208, 69, 194, 80%) #d045c2CC  
rgb(208, 69, 194, 100%) #d045c2FF  

Saturated and desaturated colors of #d045c2

HSL Code Preview
hsl(306, 10%, 54%)  
hsl(306, 20%, 54%)  
hsl(306, 40%, 54%)  
hsl(306, 60%, 54%)  
hsl(306, 80%, 54%)  
hsl(306, 100%, 54%)  

#d045c2 Color Usage In CSS

 body {
    color: #d045c2;
    }
 p {
    color: rgb(208, 69, 194);
    }
 header {
    border-bottom:1px solid #d045c2;
    }
Recent Random Colors