Android and hex/int color code


I have implemented a basic application that just show a hex and int color code.
This application consists of a unique activity, in this it is possible to specify a color by inserting these 4 pareameters:

  • alpha channel
  • red
  • green
  • blue

The background of the activity will change according to the selected color, and in the bottom corners you can see the code of the same color in hexadecimal and decimal format.
The code is very bascic and you can view it at this gitlab page:
https://gitlab.com/iacopodeenosee/android-test-color
here some screenshoot:
COLOR_device-2017-12-08-172916

Annunci