Random Color Generator

#dc5ff1 Color

Color Codes
Hex Code #dc5ff1
RGB Code rgb(220, 95, 241)
HSL Code hsl(291, 84%, 66%)

#dc5ff1 Color Syntax

rgb()

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

 main {
    background-color: rgb(220, 95, 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(291, 84%, 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 #dc5ff1

RGB Code Hex Code Preview
rgb(220, 95, 241, 10%) #dc5ff11a  
rgb(220, 95, 241, 20%) #dc5ff133  
rgb(220, 95, 241, 40%) #dc5ff14C  
rgb(220, 95, 241, 60%) #dc5ff199  
rgb(220, 95, 241, 80%) #dc5ff1CC  
rgb(220, 95, 241, 100%) #dc5ff1FF  

Saturated and desaturated colors of #dc5ff1

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

#dc5ff1 Color Usage In CSS

 body {
    color: #dc5ff1;
    }
 p {
    color: rgb(220, 95, 241);
    }
 header {
    border-bottom:1px solid #dc5ff1;
    }
Recent Random Colors