Random Color Generator

#f90838 Color

Color Codes
Hex Code #f90838
RGB Code rgb(249, 08, 56)
HSL Code hsl(348, 95%, 50%)

#f90838 Color Syntax

rgb()

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

 main {
    background-color: rgb(249, 08, 56);
   }

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(348, 95%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(249, 08, 56, 10%) #f908381a  
rgb(249, 08, 56, 20%) #f9083833  
rgb(249, 08, 56, 40%) #f908384C  
rgb(249, 08, 56, 60%) #f9083899  
rgb(249, 08, 56, 80%) #f90838CC  
rgb(249, 08, 56, 100%) #f90838FF  

Saturated and desaturated colors of #f90838

HSL Code Preview
hsl(348, 10%, 50%)  
hsl(348, 20%, 50%)  
hsl(348, 40%, 50%)  
hsl(348, 60%, 50%)  
hsl(348, 80%, 50%)  
hsl(348, 100%, 50%)  

#f90838 Color Usage In CSS

 body {
    color: #f90838;
    }
 p {
    color: rgb(249, 08, 56);
    }
 header {
    border-bottom:1px solid #f90838;
    }
Recent Random Colors