Random Color Generator

#9b0230 Color

Color Codes
Hex Code #9b0230
RGB Code rgb(155, 02, 48)
HSL Code hsl(342, 97%, 31%)

#9b0230 Color Syntax

rgb()

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

 main {
    background-color: rgb(155, 02, 48);
   }

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(342, 97%, 31%);
  }

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 #9b0230

RGB Code Hex Code Preview
rgb(155, 02, 48, 10%) #9b02301a  
rgb(155, 02, 48, 20%) #9b023033  
rgb(155, 02, 48, 40%) #9b02304C  
rgb(155, 02, 48, 60%) #9b023099  
rgb(155, 02, 48, 80%) #9b0230CC  
rgb(155, 02, 48, 100%) #9b0230FF  

Saturated and desaturated colors of #9b0230

HSL Code Preview
hsl(342, 10%, 31%)  
hsl(342, 20%, 31%)  
hsl(342, 40%, 31%)  
hsl(342, 60%, 31%)  
hsl(342, 80%, 31%)  
hsl(342, 100%, 31%)  

#9b0230 Color Usage In CSS

 body {
    color: #9b0230;
    }
 p {
    color: rgb(155, 02, 48);
    }
 header {
    border-bottom:1px solid #9b0230;
    }
Recent Random Colors