\documentclass[10pt,letterpaper]{article}

\usepackage[utf8]{inputenc}
\usepackage{libertine}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage[table]{xcolor}
\usepackage{hyperref}
\hypersetup{
    colorlinks=true,    % false: boxed links; true: colored links
    linkcolor=black,    % color of internal links
    citecolor=black,    % color of links to bibliography
    filecolor=black,    % color of file links
    urlcolor=blue       % color of external links
}
\usepackage{booktabs}

\definecolor{b03}{HTML}{002B36} %$Base03:    #002B36;
\definecolor{b02}{HTML}{073642} %$Base02:    #073642;
\definecolor{b01}{HTML}{586E75} %$Base01:    #586E75;
\definecolor{b00}{HTML}{657B83} %$Base00:    #657B83;
\definecolor{b0} {HTML}{839496} %$Base0:     #839496;
\definecolor{b1} {HTML}{93A1A1} %$Base1:     #93A1A1;
\definecolor{b2} {HTML}{EEE8D5} %$Base2:     #EEE8D5;
\definecolor{b3} {HTML}{FDF6E3} %$Base3:     #FDF6E3;
\definecolor{y}  {HTML}{B58900} %$yellow:    #B58900;
\definecolor{o}  {HTML}{CB4B16} %$orange:    #CB4B16;
\definecolor{r}  {HTML}{DC322F} %$red:       #DC322F;
\definecolor{m}  {HTML}{D33682} %$magenta:   #D33682;
\definecolor{v}  {HTML}{6C71C4} %$violet:    #6C71C4;
\definecolor{b}  {HTML}{268BD2} %$blue:      #268BD2;
\definecolor{c}  {HTML}{2AA198} %$cyan:      #2AA198;
\definecolor{g}  {HTML}{859900} %$green:     #859900;

\newcommand\cc[3]{%
  \cellcolor{#1}\textcolor{#2}{#3}%
}

\begin{document}

\section*{\centering\LARGE\textbf{Solarized Cheat Sheet}}

\begin{table}[h]
  \centering
  \LARGE
  \begin{tabular}{cccc}
    Color & HTML & RGB & Type \\
    \toprule
    \cc{b03}{b0}{Base03} & \cc{b03}{b0}{\#002B36} & \cc{b03}{b0}{(000,043,054)} & \cc{b03}{b0}{Background} \\
    \cc{b02}{b1}{Base02} & \cc{b02}{b1}{\#073642} & \cc{b02}{b1}{(007,054,066)} & \cc{b02}{b1}{Background}\\
    \cc{b01}{b2}{Base01} & \cc{b01}{b2}{\#586E75} & \cc{b01}{b2}{(088,110,117)} & \cc{b01}{b2}{Content}\\
    \cc{b00}{b3}{Base00} & \cc{b00}{b3}{\#657B83} & \cc{b00}{b3}{(101,123,131)} & \cc{b00}{b3}{Content}\\
    \cc{b0}{b03}{Base0}  & \cc{b0}{b03}{\#839496} & \cc{b0}{b03}{(131,148,150)} & \cc{b0}{b03}{Content}\\
    \cc{b1}{b02}{Base1}  & \cc{b1}{b02}{\#93A1A1} & \cc{b1}{b02}{(147,161,161)} & \cc{b1}{b02}{Content}\\
    \cc{b2}{b01}{Base2}  & \cc{b2}{b01}{\#EEE8D5} & \cc{b2}{b01}{(238,232,213)} & \cc{b2}{b01}{Background}\\
    \cc{b3}{b00}{Base3}  & \cc{b3}{b00}{\#FDF6E3} & \cc{b3}{b00}{(253,246,227)} & \cc{b3}{b00}{Background}\\
    \cc{y}{b2}{Yellow}   & \cc{y}{b2}{\#B58900} & \cc{y}{b2}{(181,137,000)} & \cc{y}{b2}{Accent} \\
    \cc{o}{b2}{Orange}   & \cc{o}{b2}{\#CB4B16} & \cc{o}{b2}{(203,075,022)} & \cc{o}{b2}{Accent} \\
    \cc{r}{b2}{Red}      & \cc{r}{b2}{\#DC322F} & \cc{r}{b2}{(220,050,047)} & \cc{r}{b2}{Accent} \\
    \cc{m}{b2}{Magenta}  & \cc{m}{b2}{\#D33682} & \cc{m}{b2}{(211,054,130)} & \cc{m}{b2}{Accent} \\
    \cc{v}{b2}{Violet}   & \cc{v}{b2}{\#6C71C4} & \cc{v}{b2}{(108,113,196)} & \cc{v}{b2}{Accent} \\
    \cc{b}{b2}{Blue}     & \cc{b}{b2}{\#268BD2} & \cc{b}{b2}{(038,139,210)} & \cc{b}{b2}{Accent} \\
    \cc{c}{b2}{Cyan}     & \cc{c}{b2}{\#2AA198} & \cc{c}{b2}{(042,161,152)} & \cc{c}{b2}{Accent} \\
    \cc{g}{b2}{Green}    & \cc{g}{b2}{\#859900} & \cc{g}{b2}{(133,153,000)} & \cc{g}{b2}{Accent} \\
  \end{tabular}
  \caption{The solarized colors with their HTML and RGB values and intended
  purpose.}
  \label{tab:solcols}
\end{table}

\end{document}
