Random Color Generator

#c10baf Color

Color Codes
Hex Code #c10baf
RGB Code rgb(193, 11, 175)
HSL Code hsl(306, 89%, 40%)

#c10baf Color Syntax

rgb()

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

 main {
    background-color: rgb(193, 11, 175);
   }

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(306, 89%, 40%);
  }

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

RGB Code Hex Code Preview
rgb(193, 11, 175, 10%) #c10baf1a  
rgb(193, 11, 175, 20%) #c10baf33  
rgb(193, 11, 175, 40%) #c10baf4C  
rgb(193, 11, 175, 60%) #c10baf99  
rgb(193, 11, 175, 80%) #c10bafCC  
rgb(193, 11, 175, 100%) #c10bafFF  

Saturated and desaturated colors of #c10baf

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

#c10baf Color Usage In CSS

 body {
    color: #c10baf;
    }
 p {
    color: rgb(193, 11, 175);
    }
 header {
    border-bottom:1px solid #c10baf;
    }
Recent Random Colors