Random Color Generator

#ed40f1 Color

Color Codes
Hex Code #ed40f1
RGB Code rgb(237, 64, 241)
HSL Code hsl(299, 86%, 60%)

#ed40f1 Color Syntax

rgb()

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

 main {
    background-color: rgb(237, 64, 241);
   }

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(299, 86%, 60%);
  }

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

RGB Code Hex Code Preview
rgb(237, 64, 241, 10%) #ed40f11a  
rgb(237, 64, 241, 20%) #ed40f133  
rgb(237, 64, 241, 40%) #ed40f14C  
rgb(237, 64, 241, 60%) #ed40f199  
rgb(237, 64, 241, 80%) #ed40f1CC  
rgb(237, 64, 241, 100%) #ed40f1FF  

Saturated and desaturated colors of #ed40f1

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

#ed40f1 Color Usage In CSS

 body {
    color: #ed40f1;
    }
 p {
    color: rgb(237, 64, 241);
    }
 header {
    border-bottom:1px solid #ed40f1;
    }
Recent Random Colors