Random Color Generator

#f3162e Color

Color Codes
Hex Code #f3162e
RGB Code rgb(243, 22, 46)
HSL Code hsl(353, 90%, 52%)

#f3162e Color Syntax

rgb()

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

 main {
    background-color: rgb(243, 22, 46);
   }

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(353, 90%, 52%);
  }

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

RGB Code Hex Code Preview
rgb(243, 22, 46, 10%) #f3162e1a  
rgb(243, 22, 46, 20%) #f3162e33  
rgb(243, 22, 46, 40%) #f3162e4C  
rgb(243, 22, 46, 60%) #f3162e99  
rgb(243, 22, 46, 80%) #f3162eCC  
rgb(243, 22, 46, 100%) #f3162eFF  

Saturated and desaturated colors of #f3162e

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

#f3162e Color Usage In CSS

 body {
    color: #f3162e;
    }
 p {
    color: rgb(243, 22, 46);
    }
 header {
    border-bottom:1px solid #f3162e;
    }
Recent Random Colors