Random Color Generator

#e6302a Color

Color Codes
Hex Code #e6302a
RGB Code rgb(230, 48, 42)
HSL Code hsl(2, 79%, 53%)

#e6302a Color Syntax

rgb()

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

 main {
    background-color: rgb(230, 48, 42);
   }

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, 79%, 53%);
  }

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

RGB Code Hex Code Preview
rgb(230, 48, 42, 10%) #e6302a1a  
rgb(230, 48, 42, 20%) #e6302a33  
rgb(230, 48, 42, 40%) #e6302a4C  
rgb(230, 48, 42, 60%) #e6302a99  
rgb(230, 48, 42, 80%) #e6302aCC  
rgb(230, 48, 42, 100%) #e6302aFF  

Saturated and desaturated colors of #e6302a

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

#e6302a Color Usage In CSS

 body {
    color: #e6302a;
    }
 p {
    color: rgb(230, 48, 42);
    }
 header {
    border-bottom:1px solid #e6302a;
    }
Recent Random Colors