Random Color Generator

#ce0c2f Color

Color Codes
Hex Code #ce0c2f
RGB Code rgb(206, 12, 47)
HSL Code hsl(349, 89%, 43%)

#ce0c2f Color Syntax

rgb()

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

 main {
    background-color: rgb(206, 12, 47);
   }

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(349, 89%, 43%);
  }

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

RGB Code Hex Code Preview
rgb(206, 12, 47, 10%) #ce0c2f1a  
rgb(206, 12, 47, 20%) #ce0c2f33  
rgb(206, 12, 47, 40%) #ce0c2f4C  
rgb(206, 12, 47, 60%) #ce0c2f99  
rgb(206, 12, 47, 80%) #ce0c2fCC  
rgb(206, 12, 47, 100%) #ce0c2fFF  

Saturated and desaturated colors of #ce0c2f

HSL Code Preview
hsl(349, 10%, 43%)  
hsl(349, 20%, 43%)  
hsl(349, 40%, 43%)  
hsl(349, 60%, 43%)  
hsl(349, 80%, 43%)  
hsl(349, 100%, 43%)  

#ce0c2f Color Usage In CSS

 body {
    color: #ce0c2f;
    }
 p {
    color: rgb(206, 12, 47);
    }
 header {
    border-bottom:1px solid #ce0c2f;
    }
Recent Random Colors