It looks like the color() method might be available here without needing to use ERB within the string.  If so, you could interpolate it directly without ERB and needing to escape?