Random Color Generator

#9074b6 Color

Color Codes
Hex Code #9074b6
RGB Code rgb(144, 116, 182)
HSL Code hsl(265, 31%, 58%)

#9074b6 Color Syntax

rgb()

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

 main {
    background-color: rgb(144, 116, 182);
   }

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(265, 31%, 58%);
  }

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 #9074b6

RGB Code Hex Code Preview
rgb(144, 116, 182, 10%) #9074b61a  
rgb(144, 116, 182, 20%) #9074b633  
rgb(144, 116, 182, 40%) #9074b64C  
rgb(144, 116, 182, 60%) #9074b699  
rgb(144, 116, 182, 80%) #9074b6CC  
rgb(144, 116, 182, 100%) #9074b6FF  

Saturated and desaturated colors of #9074b6

HSL Code Preview
hsl(265, 10%, 58%)  
hsl(265, 20%, 58%)  
hsl(265, 40%, 58%)  
hsl(265, 60%, 58%)  
hsl(265, 80%, 58%)  
hsl(265, 100%, 58%)  

#9074b6 Color Usage In CSS

 body {
    color: #9074b6;
    }
 p {
    color: rgb(144, 116, 182);
    }
 header {
    border-bottom:1px solid #9074b6;
    }
Recent Random Colors