I am trying to take a color hex, e.g. #686086, and create a 48x48 bitmap filled with it.
This is what I've tried so far-
In the above attempt, I think that I am going through each pixel of the bitmap and changing its bit values to represent the color specified.
I also tried,
However, in both cases, the bitmap still appears to be transparent.
I am hoping that somebody can spot where I am going wrong and/or point me in the right direction.
Thanks in advance 🙂
This is what I've tried so far-
In the above attempt, I think that I am going through each pixel of the bitmap and changing its bit values to represent the color specified.
I also tried,
However, in both cases, the bitmap still appears to be transparent.
I am hoping that somebody can spot where I am going wrong and/or point me in the right direction.
Thanks in advance 🙂