getCompatColor

Starting in android Marshmallow, the returned color will be styled for the specified Context's theme.

Return

A single color value in the form 0xAARRGGBB.

See also