Random Color Generator

#d71270 Color

Color Codes
Hex Code #d71270
RGB Code rgb(215, 18, 112)
HSL Code hsl(331, 85%, 46%)

#d71270 Color Syntax

rgb()

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

 main {
    background-color: rgb(215, 18, 112);
   }

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(331, 85%, 46%);
  }

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

RGB Code Hex Code Preview
rgb(215, 18, 112, 10%) #d712701a  
rgb(215, 18, 112, 20%) #d7127033  
rgb(215, 18, 112, 40%) #d712704C  
rgb(215, 18, 112, 60%) #d7127099  
rgb(215, 18, 112, 80%) #d71270CC  
rgb(215, 18, 112, 100%) #d71270FF  

Saturated and desaturated colors of #d71270

HSL Code Preview
hsl(331, 10%, 46%)  
hsl(331, 20%, 46%)  
hsl(331, 40%, 46%)  
hsl(331, 60%, 46%)  
hsl(331, 80%, 46%)  
hsl(331, 100%, 46%)  

#d71270 Color Usage In CSS

 body {
    color: #d71270;
    }
 p {
    color: rgb(215, 18, 112);
    }
 header {
    border-bottom:1px solid #d71270;
    }
Recent Random Colors