preserved transparency for modifying actions
alpha is now parsed by parseColor
added mask method