Random Color Generator

#de1ef2 Color

Color Codes
Hex Code #de1ef2
RGB Code rgb(222, 30, 242)
HSL Code hsl(294, 89%, 53%)

#de1ef2 Color Syntax

rgb()

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

 main {
    background-color: rgb(222, 30, 242);
   }

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(294, 89%, 53%);
  }

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

RGB Code Hex Code Preview
rgb(222, 30, 242, 10%) #de1ef21a  
rgb(222, 30, 242, 20%) #de1ef233  
rgb(222, 30, 242, 40%) #de1ef24C  
rgb(222, 30, 242, 60%) #de1ef299  
rgb(222, 30, 242, 80%) #de1ef2CC  
rgb(222, 30, 242, 100%) #de1ef2FF  

Saturated and desaturated colors of #de1ef2

HSL Code Preview
hsl(294, 10%, 53%)  
hsl(294, 20%, 53%)  
hsl(294, 40%, 53%)  
hsl(294, 60%, 53%)  
hsl(294, 80%, 53%)  
hsl(294, 100%, 53%)  

#de1ef2 Color Usage In CSS

 body {
    color: #de1ef2;
    }
 p {
    color: rgb(222, 30, 242);
    }
 header {
    border-bottom:1px solid #de1ef2;
    }
Recent Random Colors