Random Color Generator

#d418d0 Color

Color Codes
Hex Code #d418d0
RGB Code rgb(212, 24, 208)
HSL Code hsl(301, 80%, 46%)

#d418d0 Color Syntax

rgb()

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

 main {
    background-color: rgb(212, 24, 208);
   }

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(301, 80%, 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 #d418d0

RGB Code Hex Code Preview
rgb(212, 24, 208, 10%) #d418d01a  
rgb(212, 24, 208, 20%) #d418d033  
rgb(212, 24, 208, 40%) #d418d04C  
rgb(212, 24, 208, 60%) #d418d099  
rgb(212, 24, 208, 80%) #d418d0CC  
rgb(212, 24, 208, 100%) #d418d0FF  

Saturated and desaturated colors of #d418d0

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

#d418d0 Color Usage In CSS

 body {
    color: #d418d0;
    }
 p {
    color: rgb(212, 24, 208);
    }
 header {
    border-bottom:1px solid #d418d0;
    }
Recent Random Colors