/*
Given a base color hex will return a function that expects
some given opactiy and returns the base color at that
opacity.
 */
export default (base) => {
  const rgb = base.match(/[^#]{2}/g)
    .map(pair => parseInt(pair, 16));

  return opacity => `rgba(${rgb.join(',')},${opacity})`;
};

@@ -1,11 +1,15 @@
 /*
-%0A
+*%0A * 
 Given a 
@@ -59,16 +59,19 @@
 expects%0A
+ * 
 some giv
@@ -116,16 +116,19 @@
 at that%0A
+ * 
 opacity.

fix jsdoc on atOpacity