Random Color Generator

#42b4fd Color

Color Codes
Hex Code #42b4fd
RGB Code rgb(66, 180, 253)
HSL Code hsl(203, 98%, 63%)

#42b4fd Color Syntax

rgb()

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

 main {
    background-color: rgb(66, 180, 253);
   }

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(203, 98%, 63%);
  }

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 #42b4fd

RGB Code Hex Code Preview
rgb(66, 180, 253, 10%) #42b4fd1a  
rgb(66, 180, 253, 20%) #42b4fd33  
rgb(66, 180, 253, 40%) #42b4fd4C  
rgb(66, 180, 253, 60%) #42b4fd99  
rgb(66, 180, 253, 80%) #42b4fdCC  
rgb(66, 180, 253, 100%) #42b4fdFF  

Saturated and desaturated colors of #42b4fd

HSL Code Preview
hsl(203, 10%, 63%)  
hsl(203, 20%, 63%)  
hsl(203, 40%, 63%)  
hsl(203, 60%, 63%)  
hsl(203, 80%, 63%)  
hsl(203, 100%, 63%)  

#42b4fd Color Usage In CSS

 body {
    color: #42b4fd;
    }
 p {
    color: rgb(66, 180, 253);
    }
 header {
    border-bottom:1px solid #42b4fd;
    }
Recent Random Colors