if(!Draw.getFill) {
  Draw.getFill = function() {
    if(!Canvas.configured) {
      console.warn("KAPhy Warning - You must use Canvas.configure(); before you can draw!");
      return;
    }
    
    var fillStyle = Canvas.context.fillStyle.split(", ");
    console.log(fillStyle);
    fillStyle[0] = fillStyle[0].split("");
    fillStyle[0].splice(0, 5);
    fillStyle[0] = parseFloat(fillStyle[0].join(""));
    fillStyle[1] = parseFloat(fillStyle[1]);
    fillStyle[2] = parseFloat(fillStyle[2]);
    fillStyle[3] = fillStyle[3].split("");
    fillStyle[3].pop();
    fillStyle[3] = parseFloat(fillStyle[3].join(""));
    
    return {
      r: fillStyle[0],
      g: fillStyle[1], 
      b: fillStyle[2],
      a: fillStyle[3] * 255
    };
  };
}

@@ -202,86 +202,1063 @@
 var 
-fillStyle = Canvas.context.fillStyle.split(%22, %22);%0A    console.log(fillStyle);%0A
+hexDigitDec = function(digit) %7B%0A      switch(digit.toString().toLowerCase()) %7B%0A        case %220%22: return 0; break;%0A        case %221%22: return 1; break;%0A        case %222%22: return 2; break;%0A        case %223%22: return 3; break;%0A        case %224%22: return 4; break;%0A        case %225%22: return 5; break;%0A        case %226%22: return 6; break;%0A        case %227%22: return 7; break;%0A        case %228%22: return 8; break;%0A        case %229%22: return 9; break;%0A        case %22a%22: return 10; break;%0A        case %22b%22: return 11; break;%0A        case %22c%22: return 12; break;%0A        case %22d%22: return 13; break;%0A        case %22e%22: return 14; break;%0A        case %22f%22: return 15; break;%0A      %7D%0A    %7D;//Converts a hex digit to a decimal number%0A    %0A    var fillStyle = Canvas.context.fillStyle;%0A    if(fillStyle%5B0%5D === %22#%22) %7B%0A      return %7B%0A        r: 16 * hexDigitDec(fillStyle%5B1%5D) + hexDigitDec(fillStyle%5B2%5D),%0A        g: 16 * hexDigitDec(fillStyle%5B3%5D) + hexDigitDec(fillStyle%5B4%5D),%0A        b: 16 * hexDigitDec(fillStyle%5B5%5D) + hexDigitDec(fillStyle%5B6%5D),%0A        a: 255%0A      %7D;%0A    %7D%0A    else %7B%0A  
     
@@ -1288,32 +1288,34 @@
 e%5B0%5D.split(%22%22);%0A
+  
     fillStyle%5B0%5D
@@ -1329,24 +1329,26 @@
 (0, 5);%0A    
+  
 fillStyle%5B0%5D
@@ -1381,24 +1381,26 @@
 .join(%22%22));%0A
+  
     fillStyl
@@ -1428,32 +1428,34 @@
 lStyle%5B1%5D);%0A    
+  
 fillStyle%5B2%5D = p
@@ -1475,24 +1475,26 @@
 lStyle%5B2%5D);%0A
+  
     fillStyl
@@ -1524,24 +1524,26 @@
 it(%22%22);%0A    
+  
 fillStyle%5B3%5D
@@ -1550,16 +1550,18 @@
 .pop();%0A
+  
     fill
@@ -1606,25 +1606,29 @@
 n(%22%22));%0A    
-%0A
+  %0A  
     return %7B
@@ -1634,16 +1634,18 @@
 %7B%0A      
+  
 r: fillS
@@ -1653,16 +1653,18 @@
 yle%5B0%5D,%0A
+  
       g:
@@ -1685,16 +1685,18 @@
  %0A      
+  
 b: fillS
@@ -1704,16 +1704,18 @@
 yle%5B2%5D,%0A
+  
       a:
@@ -1738,18 +1738,26 @@
 255%0A    
+  %7D;%0A    
 %7D
-;
 %0A  %7D;%0A%7D%0A

Update getfill.js