red

Return the red component of a color int. This is equivalent to calling:

Color.red(myInt)

@get:RequiresApi(value = 26)
val Long.red: Float(source)

Return the red component of a color long. This is equivalent to calling:

Color.red(myLong)