Skip to content

Instantly share code, notes, and snippets.

@ankitchhatbar
ankitchhatbar / skinColorPercentages.md
Last active October 2, 2017 19:58
Skin color percentages

Skin color percentages

ETHNICITY CYAN MAGENTA YELLOW BLACK
White 07-10% 20-27% 30-45% 0%
Black/African 28-34% 70-78% 75-83% 22-26%
Asian/Hispanic 10-15% 30-36% 40-46% 0%
White baby 0% 16-35% 18-38% 0%
@ankitchhatbar
ankitchhatbar / Opacity HEX values.md
Last active September 27, 2017 20:03 — forked from lopspower/README.md
Hexadecimal opacity values for opacity percentages

Hexadecimal opacity values for opacity percentages

LinkedIn

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:

@ankitchhatbar
ankitchhatbar / LAMP-python3.sh
Last active August 14, 2017 11:28
Install LAMP production server for Python3 WSGI apps using Ubuntu 16.04 LTS (instructions in comments)
#!/bin/bash
#
# This is a script to install a LAMP production server that uses Python3 as the server language.
# The server that will be set up will run Python3 WSGI web apps directly without any virtual environments
#
# HOW TO USE THIS SCRIPT
# ----------------------
# Download it to your Ubuntu 16.04 installation using wget or any other download methods
#