Random Color Generator

#1a26d8 Color

Color Codes
Hex Code #1a26d8
RGB Code rgb(26, 38, 216)
HSL Code hsl(236, 79%, 47%)

#1a26d8 Color Syntax

rgb()

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

 main {
    background-color: rgb(26, 38, 216);
   }

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(236, 79%, 47%);
  }

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

RGB Code Hex Code Preview
rgb(26, 38, 216, 10%) #1a26d81a  
rgb(26, 38, 216, 20%) #1a26d833  
rgb(26, 38, 216, 40%) #1a26d84C  
rgb(26, 38, 216, 60%) #1a26d899  
rgb(26, 38, 216, 80%) #1a26d8CC  
rgb(26, 38, 216, 100%) #1a26d8FF  

Saturated and desaturated colors of #1a26d8

HSL Code Preview
hsl(236, 10%, 47%)  
hsl(236, 20%, 47%)  
hsl(236, 40%, 47%)  
hsl(236, 60%, 47%)  
hsl(236, 80%, 47%)  
hsl(236, 100%, 47%)  

#1a26d8 Color Usage In CSS

 body {
    color: #1a26d8;
    }
 p {
    color: rgb(26, 38, 216);
    }
 header {
    border-bottom:1px solid #1a26d8;
    }
Recent Random Colors