Random Color Generator

#b22388 Color

Color Codes
Hex Code #b22388
RGB Code rgb(178, 35, 136)
HSL Code hsl(318, 67%, 42%)

#b22388 Color Syntax

rgb()

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

 main {
    background-color: rgb(178, 35, 136);
   }

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(318, 67%, 42%);
  }

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

RGB Code Hex Code Preview
rgb(178, 35, 136, 10%) #b223881a  
rgb(178, 35, 136, 20%) #b2238833  
rgb(178, 35, 136, 40%) #b223884C  
rgb(178, 35, 136, 60%) #b2238899  
rgb(178, 35, 136, 80%) #b22388CC  
rgb(178, 35, 136, 100%) #b22388FF  

Saturated and desaturated colors of #b22388

HSL Code Preview
hsl(318, 10%, 42%)  
hsl(318, 20%, 42%)  
hsl(318, 40%, 42%)  
hsl(318, 60%, 42%)  
hsl(318, 80%, 42%)  
hsl(318, 100%, 42%)  

#b22388 Color Usage In CSS

 body {
    color: #b22388;
    }
 p {
    color: rgb(178, 35, 136);
    }
 header {
    border-bottom:1px solid #b22388;
    }
Recent Random Colors