Random Color Generator

#cb0931 Color

Color Codes
Hex Code #cb0931
RGB Code rgb(203, 09, 49)
HSL Code hsl(348, 92%, 42%)

#cb0931 Color Syntax

rgb()

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

 main {
    background-color: rgb(203, 09, 49);
   }

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(348, 92%, 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 #cb0931

RGB Code Hex Code Preview
rgb(203, 09, 49, 10%) #cb09311a  
rgb(203, 09, 49, 20%) #cb093133  
rgb(203, 09, 49, 40%) #cb09314C  
rgb(203, 09, 49, 60%) #cb093199  
rgb(203, 09, 49, 80%) #cb0931CC  
rgb(203, 09, 49, 100%) #cb0931FF  

Saturated and desaturated colors of #cb0931

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

#cb0931 Color Usage In CSS

 body {
    color: #cb0931;
    }
 p {
    color: rgb(203, 09, 49);
    }
 header {
    border-bottom:1px solid #cb0931;
    }
Recent Random Colors