Skip to content

Instantly share code, notes, and snippets.

@iamvivekkaushik
iamvivekkaushik / main.go
Created July 24, 2022 17:02 — forked from enricofoltran/main.go
A simple golang web server with basic logging, tracing, health check, graceful shutdown and zero dependencies
package main
import (
"context"
"flag"
"fmt"
"log"
"net/http"
"os"
"os/signal"
@iamvivekkaushik
iamvivekkaushik / README.md
Created March 22, 2019 04:27 — forked from lopspower/README.md
Hexadecimal color code for transparency

Hexadecimal color code for transparency

Twitter

How to set transparency with hex value ?

For example, you want to set 40% alpha transparence to #000000 (black color), you need to add 66 like this #66000000.

All hex value from 100% to 0% alpha: