Random Color Generator

#e460f2 Color

Color Codes
Hex Code #e460f2
RGB Code rgb(228, 96, 242)
HSL Code hsl(294, 85%, 66%)

#e460f2 Color Syntax

rgb()

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

 main {
    background-color: rgb(228, 96, 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, 85%, 66%);
  }

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

RGB Code Hex Code Preview
rgb(228, 96, 242, 10%) #e460f21a  
rgb(228, 96, 242, 20%) #e460f233  
rgb(228, 96, 242, 40%) #e460f24C  
rgb(228, 96, 242, 60%) #e460f299  
rgb(228, 96, 242, 80%) #e460f2CC  
rgb(228, 96, 242, 100%) #e460f2FF  

Saturated and desaturated colors of #e460f2

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

#e460f2 Color Usage In CSS

 body {
    color: #e460f2;
    }
 p {
    color: rgb(228, 96, 242);
    }
 header {
    border-bottom:1px solid #e460f2;
    }
Recent Random Colors