Random Color Generator

#de1fec Color

Color Codes
Hex Code #de1fec
RGB Code rgb(222, 31, 236)
HSL Code hsl(296, 84%, 52%)

#de1fec Color Syntax

rgb()

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

 main {
    background-color: rgb(222, 31, 236);
   }

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(296, 84%, 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 #de1fec

RGB Code Hex Code Preview
rgb(222, 31, 236, 10%) #de1fec1a  
rgb(222, 31, 236, 20%) #de1fec33  
rgb(222, 31, 236, 40%) #de1fec4C  
rgb(222, 31, 236, 60%) #de1fec99  
rgb(222, 31, 236, 80%) #de1fecCC  
rgb(222, 31, 236, 100%) #de1fecFF  

Saturated and desaturated colors of #de1fec

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

#de1fec Color Usage In CSS

 body {
    color: #de1fec;
    }
 p {
    color: rgb(222, 31, 236);
    }
 header {
    border-bottom:1px solid #de1fec;
    }
Recent Random Colors