Random Color Generator

#2328ab Color

Color Codes
Hex Code #2328ab
RGB Code rgb(35, 40, 171)
HSL Code hsl(238, 66%, 40%)

#2328ab Color Syntax

rgb()

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

 main {
    background-color: rgb(35, 40, 171);
   }

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(238, 66%, 40%);
  }

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 #2328ab

RGB Code Hex Code Preview
rgb(35, 40, 171, 10%) #2328ab1a  
rgb(35, 40, 171, 20%) #2328ab33  
rgb(35, 40, 171, 40%) #2328ab4C  
rgb(35, 40, 171, 60%) #2328ab99  
rgb(35, 40, 171, 80%) #2328abCC  
rgb(35, 40, 171, 100%) #2328abFF  

Saturated and desaturated colors of #2328ab

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

#2328ab Color Usage In CSS

 body {
    color: #2328ab;
    }
 p {
    color: rgb(35, 40, 171);
    }
 header {
    border-bottom:1px solid #2328ab;
    }
Recent Random Colors