Random Color Generator

#1726ab Color

Color Codes
Hex Code #1726ab
RGB Code rgb(23, 38, 171)
HSL Code hsl(234, 76%, 38%)

#1726ab Color Syntax

rgb()

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

 main {
    background-color: rgb(23, 38, 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(234, 76%, 38%);
  }

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

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

Saturated and desaturated colors of #1726ab

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

#1726ab Color Usage In CSS

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