Random Color Generator

#b52690 Color

Color Codes
Hex Code #b52690
RGB Code rgb(181, 38, 144)
HSL Code hsl(316, 65%, 43%)

#b52690 Color Syntax

rgb()

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

 main {
    background-color: rgb(181, 38, 144);
   }

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(316, 65%, 43%);
  }

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

RGB Code Hex Code Preview
rgb(181, 38, 144, 10%) #b526901a  
rgb(181, 38, 144, 20%) #b5269033  
rgb(181, 38, 144, 40%) #b526904C  
rgb(181, 38, 144, 60%) #b5269099  
rgb(181, 38, 144, 80%) #b52690CC  
rgb(181, 38, 144, 100%) #b52690FF  

Saturated and desaturated colors of #b52690

HSL Code Preview
hsl(316, 10%, 43%)  
hsl(316, 20%, 43%)  
hsl(316, 40%, 43%)  
hsl(316, 60%, 43%)  
hsl(316, 80%, 43%)  
hsl(316, 100%, 43%)  

#b52690 Color Usage In CSS

 body {
    color: #b52690;
    }
 p {
    color: rgb(181, 38, 144);
    }
 header {
    border-bottom:1px solid #b52690;
    }
Recent Random Colors