Random Color Generator

#1c8ac7 Color

Color Codes
Hex Code #1c8ac7
RGB Code rgb(28, 138, 199)
HSL Code hsl(201, 75%, 45%)

#1c8ac7 Color Syntax

rgb()

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

 main {
    background-color: rgb(28, 138, 199);
   }

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(201, 75%, 45%);
  }

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

RGB Code Hex Code Preview
rgb(28, 138, 199, 10%) #1c8ac71a  
rgb(28, 138, 199, 20%) #1c8ac733  
rgb(28, 138, 199, 40%) #1c8ac74C  
rgb(28, 138, 199, 60%) #1c8ac799  
rgb(28, 138, 199, 80%) #1c8ac7CC  
rgb(28, 138, 199, 100%) #1c8ac7FF  

Saturated and desaturated colors of #1c8ac7

HSL Code Preview
hsl(201, 10%, 45%)  
hsl(201, 20%, 45%)  
hsl(201, 40%, 45%)  
hsl(201, 60%, 45%)  
hsl(201, 80%, 45%)  
hsl(201, 100%, 45%)  

#1c8ac7 Color Usage In CSS

 body {
    color: #1c8ac7;
    }
 p {
    color: rgb(28, 138, 199);
    }
 header {
    border-bottom:1px solid #1c8ac7;
    }
Recent Random Colors