Random Color Generator

#b31be3 Color

Color Codes
Hex Code #b31be3
RGB Code rgb(179, 27, 227)
HSL Code hsl(286, 79%, 50%)

#b31be3 Color Syntax

rgb()

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

 main {
    background-color: rgb(179, 27, 227);
   }

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(286, 79%, 50%);
  }

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

RGB Code Hex Code Preview
rgb(179, 27, 227, 10%) #b31be31a  
rgb(179, 27, 227, 20%) #b31be333  
rgb(179, 27, 227, 40%) #b31be34C  
rgb(179, 27, 227, 60%) #b31be399  
rgb(179, 27, 227, 80%) #b31be3CC  
rgb(179, 27, 227, 100%) #b31be3FF  

Saturated and desaturated colors of #b31be3

HSL Code Preview
hsl(286, 10%, 50%)  
hsl(286, 20%, 50%)  
hsl(286, 40%, 50%)  
hsl(286, 60%, 50%)  
hsl(286, 80%, 50%)  
hsl(286, 100%, 50%)  

#b31be3 Color Usage In CSS

 body {
    color: #b31be3;
    }
 p {
    color: rgb(179, 27, 227);
    }
 header {
    border-bottom:1px solid #b31be3;
    }
Recent Random Colors