No not at all both are valid
{$fillcolor['$x']}
and
$fillcolor[$x]
Part of the new versions was making variables more user friendly and the templating not being so PHP heavy handled but more straight html so users could understand and work with it more.
See how much simpler the second one is rather than the old way of doing it.