Random Color Generator

#fa2834 Color

Color Codes
Hex Code #fa2834
RGB Code rgb(250, 40, 52)
HSL Code hsl(357, 95%, 57%)

#fa2834 Color Syntax

rgb()

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

 main {
    background-color: rgb(250, 40, 52);
   }

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(357, 95%, 57%);
  }

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

RGB Code Hex Code Preview
rgb(250, 40, 52, 10%) #fa28341a  
rgb(250, 40, 52, 20%) #fa283433  
rgb(250, 40, 52, 40%) #fa28344C  
rgb(250, 40, 52, 60%) #fa283499  
rgb(250, 40, 52, 80%) #fa2834CC  
rgb(250, 40, 52, 100%) #fa2834FF  

Saturated and desaturated colors of #fa2834

HSL Code Preview
hsl(357, 10%, 57%)  
hsl(357, 20%, 57%)  
hsl(357, 40%, 57%)  
hsl(357, 60%, 57%)  
hsl(357, 80%, 57%)  
hsl(357, 100%, 57%)  

#fa2834 Color Usage In CSS

 body {
    color: #fa2834;
    }
 p {
    color: rgb(250, 40, 52);
    }
 header {
    border-bottom:1px solid #fa2834;
    }
Recent Random Colors