Added Color resource support