Random Color Generator

#1843bd Color

Color Codes
Hex Code #1843bd
RGB Code rgb(24, 67, 189)
HSL Code hsl(224, 77%, 42%)

#1843bd Color Syntax

rgb()

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

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

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(224, 77%, 42%);
  }

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 #1843bd

RGB Code Hex Code Preview
rgb(24, 67, 189, 10%) #1843bd1a  
rgb(24, 67, 189, 20%) #1843bd33  
rgb(24, 67, 189, 40%) #1843bd4C  
rgb(24, 67, 189, 60%) #1843bd99  
rgb(24, 67, 189, 80%) #1843bdCC  
rgb(24, 67, 189, 100%) #1843bdFF  

Saturated and desaturated colors of #1843bd

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

#1843bd Color Usage In CSS

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