Random Color Generator

#a8c5f8 Color

Color Codes
Hex Code #a8c5f8
RGB Code rgb(168, 197, 248)
HSL Code hsl(218, 85%, 82%)

#a8c5f8 Color Syntax

rgb()

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

 main {
    background-color: rgb(168, 197, 248);
   }

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(218, 85%, 82%);
  }

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

RGB Code Hex Code Preview
rgb(168, 197, 248, 10%) #a8c5f81a  
rgb(168, 197, 248, 20%) #a8c5f833  
rgb(168, 197, 248, 40%) #a8c5f84C  
rgb(168, 197, 248, 60%) #a8c5f899  
rgb(168, 197, 248, 80%) #a8c5f8CC  
rgb(168, 197, 248, 100%) #a8c5f8FF  

Saturated and desaturated colors of #a8c5f8

HSL Code Preview
hsl(218, 10%, 82%)  
hsl(218, 20%, 82%)  
hsl(218, 40%, 82%)  
hsl(218, 60%, 82%)  
hsl(218, 80%, 82%)  
hsl(218, 100%, 82%)  

#a8c5f8 Color Usage In CSS

 body {
    color: #a8c5f8;
    }
 p {
    color: rgb(168, 197, 248);
    }
 header {
    border-bottom:1px solid #a8c5f8;
    }
Recent Random Colors