Random Color Generator

#2fa2bd Color

Color Codes
Hex Code #2fa2bd
RGB Code rgb(47, 162, 189)
HSL Code hsl(191, 60%, 46%)

#2fa2bd Color Syntax

rgb()

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

 main {
    background-color: rgb(47, 162, 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(191, 60%, 46%);
  }

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 #2fa2bd

RGB Code Hex Code Preview
rgb(47, 162, 189, 10%) #2fa2bd1a  
rgb(47, 162, 189, 20%) #2fa2bd33  
rgb(47, 162, 189, 40%) #2fa2bd4C  
rgb(47, 162, 189, 60%) #2fa2bd99  
rgb(47, 162, 189, 80%) #2fa2bdCC  
rgb(47, 162, 189, 100%) #2fa2bdFF  

Saturated and desaturated colors of #2fa2bd

HSL Code Preview
hsl(191, 10%, 46%)  
hsl(191, 20%, 46%)  
hsl(191, 40%, 46%)  
hsl(191, 60%, 46%)  
hsl(191, 80%, 46%)  
hsl(191, 100%, 46%)  

#2fa2bd Color Usage In CSS

 body {
    color: #2fa2bd;
    }
 p {
    color: rgb(47, 162, 189);
    }
 header {
    border-bottom:1px solid #2fa2bd;
    }
Recent Random Colors