to_red

Extract red component from BGRA value.

Arguments

  1. Integer rgba value

Output

Integer (0-255) red component

Examples

to_red