added color coding for HP bar