Random Color Generator

#23248f Color

Color Codes
Hex Code #23248f
RGB Code rgb(35, 36, 143)
HSL Code hsl(239, 61%, 35%)

#23248f Color Syntax

rgb()

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

 main {
    background-color: rgb(35, 36, 143);
   }

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(239, 61%, 35%);
  }

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 #23248f

RGB Code Hex Code Preview
rgb(35, 36, 143, 10%) #23248f1a  
rgb(35, 36, 143, 20%) #23248f33  
rgb(35, 36, 143, 40%) #23248f4C  
rgb(35, 36, 143, 60%) #23248f99  
rgb(35, 36, 143, 80%) #23248fCC  
rgb(35, 36, 143, 100%) #23248fFF  

Saturated and desaturated colors of #23248f

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

#23248f Color Usage In CSS

 body {
    color: #23248f;
    }
 p {
    color: rgb(35, 36, 143);
    }
 header {
    border-bottom:1px solid #23248f;
    }
Recent Random Colors