Random Color Generator

#d1395b Color

Color Codes
Hex Code #d1395b
RGB Code rgb(209, 57, 91)
HSL Code hsl(347, 62%, 52%)

#d1395b Color Syntax

rgb()

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

 main {
    background-color: rgb(209, 57, 91);
   }

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(347, 62%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(209, 57, 91, 10%) #d1395b1a  
rgb(209, 57, 91, 20%) #d1395b33  
rgb(209, 57, 91, 40%) #d1395b4C  
rgb(209, 57, 91, 60%) #d1395b99  
rgb(209, 57, 91, 80%) #d1395bCC  
rgb(209, 57, 91, 100%) #d1395bFF  

Saturated and desaturated colors of #d1395b

HSL Code Preview
hsl(347, 10%, 52%)  
hsl(347, 20%, 52%)  
hsl(347, 40%, 52%)  
hsl(347, 60%, 52%)  
hsl(347, 80%, 52%)  
hsl(347, 100%, 52%)  

#d1395b Color Usage In CSS

 body {
    color: #d1395b;
    }
 p {
    color: rgb(209, 57, 91);
    }
 header {
    border-bottom:1px solid #d1395b;
    }
Recent Random Colors