Random Color Generator

#dc0cfd Color

Color Codes
Hex Code #dc0cfd
RGB Code rgb(220, 12, 253)
HSL Code hsl(292, 98%, 52%)

#dc0cfd Color Syntax

rgb()

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

 main {
    background-color: rgb(220, 12, 253);
   }

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(292, 98%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(220, 12, 253, 10%) #dc0cfd1a  
rgb(220, 12, 253, 20%) #dc0cfd33  
rgb(220, 12, 253, 40%) #dc0cfd4C  
rgb(220, 12, 253, 60%) #dc0cfd99  
rgb(220, 12, 253, 80%) #dc0cfdCC  
rgb(220, 12, 253, 100%) #dc0cfdFF  

Saturated and desaturated colors of #dc0cfd

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

#dc0cfd Color Usage In CSS

 body {
    color: #dc0cfd;
    }
 p {
    color: rgb(220, 12, 253);
    }
 header {
    border-bottom:1px solid #dc0cfd;
    }
Recent Random Colors