Random Color Generator

#da50ea Color

Color Codes
Hex Code #da50ea
RGB Code rgb(218, 80, 234)
HSL Code hsl(294, 79%, 62%)

#da50ea Color Syntax

rgb()

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

 main {
    background-color: rgb(218, 80, 234);
   }

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, 79%, 62%);
  }

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

RGB Code Hex Code Preview
rgb(218, 80, 234, 10%) #da50ea1a  
rgb(218, 80, 234, 20%) #da50ea33  
rgb(218, 80, 234, 40%) #da50ea4C  
rgb(218, 80, 234, 60%) #da50ea99  
rgb(218, 80, 234, 80%) #da50eaCC  
rgb(218, 80, 234, 100%) #da50eaFF  

Saturated and desaturated colors of #da50ea

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

#da50ea Color Usage In CSS

 body {
    color: #da50ea;
    }
 p {
    color: rgb(218, 80, 234);
    }
 header {
    border-bottom:1px solid #da50ea;
    }
Recent Random Colors