Random Color Generator

#f31804 Color

Color Codes
Hex Code #f31804
RGB Code rgb(243, 24, 04)
HSL Code hsl(5, 97%, 48%)

#f31804 Color Syntax

rgb()

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

 main {
    background-color: rgb(243, 24, 04);
   }

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(5, 97%, 48%);
  }

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

RGB Code Hex Code Preview
rgb(243, 24, 04, 10%) #f318041a  
rgb(243, 24, 04, 20%) #f3180433  
rgb(243, 24, 04, 40%) #f318044C  
rgb(243, 24, 04, 60%) #f3180499  
rgb(243, 24, 04, 80%) #f31804CC  
rgb(243, 24, 04, 100%) #f31804FF  

Saturated and desaturated colors of #f31804

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

#f31804 Color Usage In CSS

 body {
    color: #f31804;
    }
 p {
    color: rgb(243, 24, 04);
    }
 header {
    border-bottom:1px solid #f31804;
    }
Recent Random Colors