Random Color Generator

#951f24 Color

Color Codes
Hex Code #951f24
RGB Code rgb(149, 31, 36)
HSL Code hsl(357, 66%, 35%)

#951f24 Color Syntax

rgb()

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

 main {
    background-color: rgb(149, 31, 36);
   }

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, 66%, 35%);
  }

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 #951f24

RGB Code Hex Code Preview
rgb(149, 31, 36, 10%) #951f241a  
rgb(149, 31, 36, 20%) #951f2433  
rgb(149, 31, 36, 40%) #951f244C  
rgb(149, 31, 36, 60%) #951f2499  
rgb(149, 31, 36, 80%) #951f24CC  
rgb(149, 31, 36, 100%) #951f24FF  

Saturated and desaturated colors of #951f24

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

#951f24 Color Usage In CSS

 body {
    color: #951f24;
    }
 p {
    color: rgb(149, 31, 36);
    }
 header {
    border-bottom:1px solid #951f24;
    }
Recent Random Colors