Random Color Generator

#c70cf6 Color

Color Codes
Hex Code #c70cf6
RGB Code rgb(199, 12, 246)
HSL Code hsl(288, 93%, 51%)

#c70cf6 Color Syntax

rgb()

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

 main {
    background-color: rgb(199, 12, 246);
   }

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(288, 93%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(199, 12, 246, 10%) #c70cf61a  
rgb(199, 12, 246, 20%) #c70cf633  
rgb(199, 12, 246, 40%) #c70cf64C  
rgb(199, 12, 246, 60%) #c70cf699  
rgb(199, 12, 246, 80%) #c70cf6CC  
rgb(199, 12, 246, 100%) #c70cf6FF  

Saturated and desaturated colors of #c70cf6

HSL Code Preview
hsl(288, 10%, 51%)  
hsl(288, 20%, 51%)  
hsl(288, 40%, 51%)  
hsl(288, 60%, 51%)  
hsl(288, 80%, 51%)  
hsl(288, 100%, 51%)  

#c70cf6 Color Usage In CSS

 body {
    color: #c70cf6;
    }
 p {
    color: rgb(199, 12, 246);
    }
 header {
    border-bottom:1px solid #c70cf6;
    }
Recent Random Colors