diff --git a/src/filter.js b/src/filter.js
index 0dcd2f1..dd4d05b 100644
--- a/src/filter.js
+++ b/src/filter.js
@@ -127,6 +127,10 @@ Savage.plugin(function (Savage, Element, Paper, glob) {
if (blur == null) {
blur = 4;
}
+ if (typeof blur == "string") {
+ color = blur;
+ blur = 4;
+ }
if (dx == null) {
dx = 0;
dy = 2;
@@ -134,6 +138,7 @@ Savage.plugin(function (Savage, Element, Paper, glob) {
if (dy == null) {
dy = dx;
}
+ color = Savage.color(color);
return Savage.format('', {
color: color,
dx: dx,