Random Color Generator

#f31210 Color

Color Codes
Hex Code #f31210
RGB Code rgb(243, 18, 16)
HSL Code hsl(1, 90%, 51%)

#f31210 Color Syntax

rgb()

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

 main {
    background-color: rgb(243, 18, 16);
   }

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(1, 90%, 51%);
  }

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

RGB Code Hex Code Preview
rgb(243, 18, 16, 10%) #f312101a  
rgb(243, 18, 16, 20%) #f3121033  
rgb(243, 18, 16, 40%) #f312104C  
rgb(243, 18, 16, 60%) #f3121099  
rgb(243, 18, 16, 80%) #f31210CC  
rgb(243, 18, 16, 100%) #f31210FF  

Saturated and desaturated colors of #f31210

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

#f31210 Color Usage In CSS

 body {
    color: #f31210;
    }
 p {
    color: rgb(243, 18, 16);
    }
 header {
    border-bottom:1px solid #f31210;
    }
Recent Random Colors