Random Color Generator

#cb1a13 Color

Color Codes
Hex Code #cb1a13
RGB Code rgb(203, 26, 19)
HSL Code hsl(2, 83%, 44%)

#cb1a13 Color Syntax

rgb()

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

 main {
    background-color: rgb(203, 26, 19);
   }

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(2, 83%, 44%);
  }

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

RGB Code Hex Code Preview
rgb(203, 26, 19, 10%) #cb1a131a  
rgb(203, 26, 19, 20%) #cb1a1333  
rgb(203, 26, 19, 40%) #cb1a134C  
rgb(203, 26, 19, 60%) #cb1a1399  
rgb(203, 26, 19, 80%) #cb1a13CC  
rgb(203, 26, 19, 100%) #cb1a13FF  

Saturated and desaturated colors of #cb1a13

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

#cb1a13 Color Usage In CSS

 body {
    color: #cb1a13;
    }
 p {
    color: rgb(203, 26, 19);
    }
 header {
    border-bottom:1px solid #cb1a13;
    }
Recent Random Colors