Random Color Generator

#b013ca Color

Color Codes
Hex Code #b013ca
RGB Code rgb(176, 19, 202)
HSL Code hsl(291, 83%, 43%)

#b013ca Color Syntax

rgb()

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

 main {
    background-color: rgb(176, 19, 202);
   }

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(291, 83%, 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 #b013ca

RGB Code Hex Code Preview
rgb(176, 19, 202, 10%) #b013ca1a  
rgb(176, 19, 202, 20%) #b013ca33  
rgb(176, 19, 202, 40%) #b013ca4C  
rgb(176, 19, 202, 60%) #b013ca99  
rgb(176, 19, 202, 80%) #b013caCC  
rgb(176, 19, 202, 100%) #b013caFF  

Saturated and desaturated colors of #b013ca

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

#b013ca Color Usage In CSS

 body {
    color: #b013ca;
    }
 p {
    color: rgb(176, 19, 202);
    }
 header {
    border-bottom:1px solid #b013ca;
    }
Recent Random Colors