ARGB_8888

32-bit encoding( 8-bit Alpha, 8-bit Blue, 8-bit Green, 8-bit Red). Bit masks: ARGB

  • Alpha 0xFF000000

  • Blue 0x00FF0000

  • Green 0x0000FF00

  • Red 0x000000FF Use this formula to pack into 64 bits: long color = (A & 0xffff) << 48 | (B & 0xffff) << 32 | (G & 0xffff) << 16 | (R & 0xffff);

See also

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val value: Int

Functions

Link copied to clipboard
open override fun toString(): String

Returns a string representation of the object.