summaryrefslogtreecommitdiff
path: root/base.js
diff options
context:
space:
mode:
authorYuval Adam <yuv.adm@gmail.com>2012-07-23 15:55:47 +0300
committerYuval Adam <yuv.adm@gmail.com>2012-07-23 15:55:47 +0300
commit5b3b80ee31803a2c1182983cabc9f8121fbbf18d (patch)
tree0c7efc4ce9acd61e8fb92ec446c2cc942cf6729d /base.js
parent6467c4929a2ee430af64f48460deb748c0736e79 (diff)
hsl and no border
Diffstat (limited to 'base.js')
-rw-r--r--base.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/base.js b/base.js
index b0fd8ea..d13cc75 100644
--- a/base.js
+++ b/base.js
@@ -18,16 +18,16 @@ gen = function(s, c) {
var sv = v[5] / 256;
var bv = v[6] / 256;
r.path(['M', v[0], 0, 'L', 0, v[1], 'L', v[2], 250, 'L', 250, v[3], 'Z']).attr({
- fill: Raphael.hsb(hv, sv, bv),
- stroke: Raphael.hsb(hv, sv, bv)
+ fill: Raphael.hsl(hv, sv, bv),
+ stroke: Raphael.hsl(hv, sv, bv)
});
hv = v[11] / 256;
sv = v[12] / 256;
bv = v[13] / 256;
r.path(['M', v[7], 0, 'L', 0, v[8], 'L', v[9], 250, 'L', 250, v[10], 'Z']).attr({
- fill: Raphael.hsb(hv, sv, bv),
- stroke: Raphael.hsb(hv, sv, bv),
+ fill: Raphael.hsl(hv, sv, bv),
+ stroke: Raphael.hsl(hv, sv, bv),
'fill-opacity': (v[14] / 512) + 0.3,
'stroke-opacity': (v[14] / 512) + 0.3
});