Random Color Generator

#cf1cbd Color

Color Codes
Hex Code #cf1cbd
RGB Code rgb(207, 28, 189)
HSL Code hsl(306, 76%, 46%)

#cf1cbd Color Syntax

rgb()

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

 main {
    background-color: rgb(207, 28, 189);
   }

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, 76%, 46%);
  }

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

RGB Code Hex Code Preview
rgb(207, 28, 189, 10%) #cf1cbd1a  
rgb(207, 28, 189, 20%) #cf1cbd33  
rgb(207, 28, 189, 40%) #cf1cbd4C  
rgb(207, 28, 189, 60%) #cf1cbd99  
rgb(207, 28, 189, 80%) #cf1cbdCC  
rgb(207, 28, 189, 100%) #cf1cbdFF  

Saturated and desaturated colors of #cf1cbd

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

#cf1cbd Color Usage In CSS

 body {
    color: #cf1cbd;
    }
 p {
    color: rgb(207, 28, 189);
    }
 header {
    border-bottom:1px solid #cf1cbd;
    }
Recent Random Colors