change RGB and ARGB elements attribute