Random Color Generator

#231be5 Color

Color Codes
Hex Code #231be5
RGB Code rgb(35, 27, 229)
HSL Code hsl(242, 80%, 50%)

#231be5 Color Syntax

rgb()

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

 main {
    background-color: rgb(35, 27, 229);
   }

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(242, 80%, 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 #231be5

RGB Code Hex Code Preview
rgb(35, 27, 229, 10%) #231be51a  
rgb(35, 27, 229, 20%) #231be533  
rgb(35, 27, 229, 40%) #231be54C  
rgb(35, 27, 229, 60%) #231be599  
rgb(35, 27, 229, 80%) #231be5CC  
rgb(35, 27, 229, 100%) #231be5FF  

Saturated and desaturated colors of #231be5

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

#231be5 Color Usage In CSS

 body {
    color: #231be5;
    }
 p {
    color: rgb(35, 27, 229);
    }
 header {
    border-bottom:1px solid #231be5;
    }
Recent Random Colors