I am working on an android project. I have RGB values of each pixel. I want to create a color object from it.
For android API level 26 and above, we can use Color.valueOf() method which will do the work for us. But it won't support API level below 26. Can someone help me with how I can do this? Thanks in advance.