Random Color Generator

#172964 Color

Color Codes
Hex Code #172964
RGB Code rgb(23, 41, 100)
HSL Code hsl(226, 63%, 24%)

#172964 Color Syntax

rgb()

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

 main {
    background-color: rgb(23, 41, 100);
   }

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(226, 63%, 24%);
  }

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

RGB Code Hex Code Preview
rgb(23, 41, 100, 10%) #1729641a  
rgb(23, 41, 100, 20%) #17296433  
rgb(23, 41, 100, 40%) #1729644C  
rgb(23, 41, 100, 60%) #17296499  
rgb(23, 41, 100, 80%) #172964CC  
rgb(23, 41, 100, 100%) #172964FF  

Saturated and desaturated colors of #172964

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

#172964 Color Usage In CSS

 body {
    color: #172964;
    }
 p {
    color: rgb(23, 41, 100);
    }
 header {
    border-bottom:1px solid #172964;
    }
Recent Random Colors