Random Color Generator

#dc0b99 Color

Color Codes
Hex Code #dc0b99
RGB Code rgb(220, 11, 153)
HSL Code hsl(319, 90%, 45%)

#dc0b99 Color Syntax

rgb()

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

 main {
    background-color: rgb(220, 11, 153);
   }

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(319, 90%, 45%);
  }

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

RGB Code Hex Code Preview
rgb(220, 11, 153, 10%) #dc0b991a  
rgb(220, 11, 153, 20%) #dc0b9933  
rgb(220, 11, 153, 40%) #dc0b994C  
rgb(220, 11, 153, 60%) #dc0b9999  
rgb(220, 11, 153, 80%) #dc0b99CC  
rgb(220, 11, 153, 100%) #dc0b99FF  

Saturated and desaturated colors of #dc0b99

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

#dc0b99 Color Usage In CSS

 body {
    color: #dc0b99;
    }
 p {
    color: rgb(220, 11, 153);
    }
 header {
    border-bottom:1px solid #dc0b99;
    }
Recent Random Colors