Random Color Generator

#d660ed Color

Color Codes
Hex Code #d660ed
RGB Code rgb(214, 96, 237)
HSL Code hsl(290, 80%, 65%)

#d660ed Color Syntax

rgb()

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

 main {
    background-color: rgb(214, 96, 237);
   }

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(290, 80%, 65%);
  }

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

RGB Code Hex Code Preview
rgb(214, 96, 237, 10%) #d660ed1a  
rgb(214, 96, 237, 20%) #d660ed33  
rgb(214, 96, 237, 40%) #d660ed4C  
rgb(214, 96, 237, 60%) #d660ed99  
rgb(214, 96, 237, 80%) #d660edCC  
rgb(214, 96, 237, 100%) #d660edFF  

Saturated and desaturated colors of #d660ed

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

#d660ed Color Usage In CSS

 body {
    color: #d660ed;
    }
 p {
    color: rgb(214, 96, 237);
    }
 header {
    border-bottom:1px solid #d660ed;
    }
Recent Random Colors