Random Color Generator

#d40571 Color

Color Codes
Hex Code #d40571
RGB Code rgb(212, 05, 113)
HSL Code hsl(329, 95%, 43%)

#d40571 Color Syntax

rgb()

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

 main {
    background-color: rgb(212, 05, 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(329, 95%, 43%);
  }

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

RGB Code Hex Code Preview
rgb(212, 05, 113, 10%) #d405711a  
rgb(212, 05, 113, 20%) #d4057133  
rgb(212, 05, 113, 40%) #d405714C  
rgb(212, 05, 113, 60%) #d4057199  
rgb(212, 05, 113, 80%) #d40571CC  
rgb(212, 05, 113, 100%) #d40571FF  

Saturated and desaturated colors of #d40571

HSL Code Preview
hsl(329, 10%, 43%)  
hsl(329, 20%, 43%)  
hsl(329, 40%, 43%)  
hsl(329, 60%, 43%)  
hsl(329, 80%, 43%)  
hsl(329, 100%, 43%)  

#d40571 Color Usage In CSS

 body {
    color: #d40571;
    }
 p {
    color: rgb(212, 05, 113);
    }
 header {
    border-bottom:1px solid #d40571;
    }
Recent Random Colors