Random Color Generator

#d4074b Color

Color Codes
Hex Code #d4074b
RGB Code rgb(212, 07, 75)
HSL Code hsl(340, 94%, 43%)

#d4074b Color Syntax

rgb()

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

 main {
    background-color: rgb(212, 07, 75);
   }

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(340, 94%, 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 #d4074b

RGB Code Hex Code Preview
rgb(212, 07, 75, 10%) #d4074b1a  
rgb(212, 07, 75, 20%) #d4074b33  
rgb(212, 07, 75, 40%) #d4074b4C  
rgb(212, 07, 75, 60%) #d4074b99  
rgb(212, 07, 75, 80%) #d4074bCC  
rgb(212, 07, 75, 100%) #d4074bFF  

Saturated and desaturated colors of #d4074b

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

#d4074b Color Usage In CSS

 body {
    color: #d4074b;
    }
 p {
    color: rgb(212, 07, 75);
    }
 header {
    border-bottom:1px solid #d4074b;
    }
Recent Random Colors