Random Color Generator

#c112f1 Color

Color Codes
Hex Code #c112f1
RGB Code rgb(193, 18, 241)
HSL Code hsl(287, 89%, 51%)

#c112f1 Color Syntax

rgb()

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

 main {
    background-color: rgb(193, 18, 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(287, 89%, 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 #c112f1

RGB Code Hex Code Preview
rgb(193, 18, 241, 10%) #c112f11a  
rgb(193, 18, 241, 20%) #c112f133  
rgb(193, 18, 241, 40%) #c112f14C  
rgb(193, 18, 241, 60%) #c112f199  
rgb(193, 18, 241, 80%) #c112f1CC  
rgb(193, 18, 241, 100%) #c112f1FF  

Saturated and desaturated colors of #c112f1

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

#c112f1 Color Usage In CSS

 body {
    color: #c112f1;
    }
 p {
    color: rgb(193, 18, 241);
    }
 header {
    border-bottom:1px solid #c112f1;
    }
Recent Random Colors