Random Color Generator

#ff181f Color

Color Codes
Hex Code #ff181f
RGB Code rgb(255, 24, 31)
HSL Code hsl(358, 100%, 55%)

#ff181f Color Syntax

rgb()

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

 main {
    background-color: rgb(255, 24, 31);
   }

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(358, 100%, 55%);
  }

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

RGB Code Hex Code Preview
rgb(255, 24, 31, 10%) #ff181f1a  
rgb(255, 24, 31, 20%) #ff181f33  
rgb(255, 24, 31, 40%) #ff181f4C  
rgb(255, 24, 31, 60%) #ff181f99  
rgb(255, 24, 31, 80%) #ff181fCC  
rgb(255, 24, 31, 100%) #ff181fFF  

Saturated and desaturated colors of #ff181f

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

#ff181f Color Usage In CSS

 body {
    color: #ff181f;
    }
 p {
    color: rgb(255, 24, 31);
    }
 header {
    border-bottom:1px solid #ff181f;
    }
Recent Random Colors