Last active
August 8, 2017 15:22
-
-
Save mp4096/6916455fd7cf0e8f16e3bc934a5dca50 to your computer and use it in GitHub Desktop.
Nord swatch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\documentclass[10 pt, a4paper]{article} | |
% ====================================================================== | |
% Use UTF-8 and T1 | |
% ====================================================================== | |
\usepackage[utf8]{inputenc} | |
\usepackage[T1]{fontenc} | |
\usepackage{lmodern} | |
% ====================================================================== | |
% ====================================================================== | |
% Important stuff | |
% ====================================================================== | |
\usepackage[landscape]{geometry} | |
% ====================================================================== | |
% ====================================================================== | |
% Include TikZ and TikZ libraries | |
% ====================================================================== | |
\usepackage{pgfplots} | |
\usepackage{tikz} | |
\usetikzlibrary{calc} | |
% ====================================================================== | |
% ====================================================================== | |
% Define colors | |
% ====================================================================== | |
\definecolor{polar night 0}{HTML}{2E3440} | |
\definecolor{polar night 1}{HTML}{3B4252} | |
\definecolor{polar night 2}{HTML}{434C5E} | |
\definecolor{polar night 3}{HTML}{4C566A} | |
\definecolor{snow storm 0}{HTML}{D8DEE9} | |
\definecolor{snow storm 1}{HTML}{E5E9F0} | |
\definecolor{snow storm 2}{HTML}{ECEFF4} | |
\definecolor{frost 0}{HTML}{8FBCBB} | |
\definecolor{frost 1}{HTML}{88C0D0} | |
\definecolor{frost 2}{HTML}{81A1C1} | |
\definecolor{frost 3}{HTML}{5E81AC} | |
\definecolor{aurora 0}{HTML}{BF616A} | |
\definecolor{aurora 1}{HTML}{D08770} | |
\definecolor{aurora 2}{HTML}{EBCB8B} | |
\definecolor{aurora 3}{HTML}{A3BE8C} | |
\definecolor{aurora 4}{HTML}{B48EAD} | |
% ====================================================================== | |
\begin{document} | |
\pagestyle{empty} | |
\begin{tikzpicture}[remember picture, overlay, shift={(current page.north west)}] | |
% Swatches | |
\begin{scope}[inner sep = 0.5 cm, minimum width = 4 cm, minimum height = 0.5 cm, yshift = -1 cm, white] | |
\foreach \i in {0, 1, ..., 3} { | |
\node[draw, fill = polar night \i] at ({\i * 5 + 3}, -1) {polar night \i}; | |
} | |
\foreach \i in {0, 1, ..., 2} { | |
\node[draw, fill = snow storm \i] at ({\i * 5 + 3}, -3) {snow storm \i}; | |
} | |
\foreach \i in {0, 1, ..., 3} { | |
\node[draw, fill = frost \i] at ({\i * 5 + 3}, -5) {frost \i}; | |
} | |
\foreach \i in {0, 1, ..., 4} { | |
\node[draw, fill = aurora \i] at ({\i * 5 + 3}, -7) {aurora \i}; | |
} | |
\end{scope} | |
\begin{scope}[inner sep = 0.5 cm, minimum width = 4 cm, minimum height = 0.5 cm, yshift = -11 cm, black] | |
\foreach \i in {0, 1, ..., 3} { | |
\node[draw, fill = polar night \i] at ({\i * 5 + 3}, -1) {polar night \i}; | |
} | |
\foreach \i in {0, 1, ..., 2} { | |
\node[draw, fill = snow storm \i] at ({\i * 5 + 3}, -3) {snow storm \i}; | |
} | |
\foreach \i in {0, 1, ..., 3} { | |
\node[draw, fill = frost \i] at ({\i * 5 + 3}, -5) {frost \i}; | |
} | |
\foreach \i in {0, 1, ..., 4} { | |
\node[draw, fill = aurora \i] at ({\i * 5 + 3}, -7) {aurora \i}; | |
} | |
\end{scope} | |
\end{tikzpicture} | |
\end{document} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment