RGB / RGBA parsing / formatting