String color, opacity;
double d = e.hasNumber("ui.color") ? e
.getNumber("ui.color") : 0;
double a, b;
Colors colors = group.getFillColors();
int s = Math.min((int) (d * group.getFillColorCount()),
colors.size() - 2);
a = s / (double) (colors.size() - 1);
b = (s + 1) / (double) (colors.size() - 1);
d = (d - a) / (b - a);
Color c1 = colors.get(s), c2 = colors.get(s + 1);
color = String.format(
"#%02x%02x%02x",
(int) (c1.getRed() + d
* (c2.getRed() - c1.getRed())),