Random Color Generator

#cb0ba4 Color

Color Codes
Hex Code #cb0ba4
RGB Code rgb(203, 11, 164)
HSL Code hsl(312, 90%, 42%)

#cb0ba4 Color Syntax

rgb()

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

 main {
    background-color: rgb(203, 11, 164);
   }

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(312, 90%, 42%);
  }

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

RGB Code Hex Code Preview
rgb(203, 11, 164, 10%) #cb0ba41a  
rgb(203, 11, 164, 20%) #cb0ba433  
rgb(203, 11, 164, 40%) #cb0ba44C  
rgb(203, 11, 164, 60%) #cb0ba499  
rgb(203, 11, 164, 80%) #cb0ba4CC  
rgb(203, 11, 164, 100%) #cb0ba4FF  

Saturated and desaturated colors of #cb0ba4

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

#cb0ba4 Color Usage In CSS

 body {
    color: #cb0ba4;
    }
 p {
    color: rgb(203, 11, 164);
    }
 header {
    border-bottom:1px solid #cb0ba4;
    }
Recent Random Colors