Random Color Generator

#c90234 Color

Color Codes
Hex Code #c90234
RGB Code rgb(201, 02, 52)
HSL Code hsl(345, 98%, 40%)

#c90234 Color Syntax

rgb()

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

 main {
    background-color: rgb(201, 02, 52);
   }

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(345, 98%, 40%);
  }

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

RGB Code Hex Code Preview
rgb(201, 02, 52, 10%) #c902341a  
rgb(201, 02, 52, 20%) #c9023433  
rgb(201, 02, 52, 40%) #c902344C  
rgb(201, 02, 52, 60%) #c9023499  
rgb(201, 02, 52, 80%) #c90234CC  
rgb(201, 02, 52, 100%) #c90234FF  

Saturated and desaturated colors of #c90234

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

#c90234 Color Usage In CSS

 body {
    color: #c90234;
    }
 p {
    color: rgb(201, 02, 52);
    }
 header {
    border-bottom:1px solid #c90234;
    }
Recent Random Colors