Random Color Generator

#1c1843 Color

Color Codes
Hex Code #1c1843
RGB Code rgb(28, 24, 67)
HSL Code hsl(246, 47%, 18%)

#1c1843 Color Syntax

rgb()

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

 main {
    background-color: rgb(28, 24, 67);
   }

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(246, 47%, 18%);
  }

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 #1c1843

RGB Code Hex Code Preview
rgb(28, 24, 67, 10%) #1c18431a  
rgb(28, 24, 67, 20%) #1c184333  
rgb(28, 24, 67, 40%) #1c18434C  
rgb(28, 24, 67, 60%) #1c184399  
rgb(28, 24, 67, 80%) #1c1843CC  
rgb(28, 24, 67, 100%) #1c1843FF  

Saturated and desaturated colors of #1c1843

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

#1c1843 Color Usage In CSS

 body {
    color: #1c1843;
    }
 p {
    color: rgb(28, 24, 67);
    }
 header {
    border-bottom:1px solid #1c1843;
    }
Recent Random Colors