basic support for GradientDrawable#getColor()