I would like to generate the best readable multi DARK text colors on a WHITE background using the following:
It is acceptable with the above array of numbers, but not the best text colors. What do you think the elements of the array of integers should be changed to so I always get the best contrast.
Thank you
B4X:
Dim y(6) As Int =ArrayAsInt(0,256,0,128,0,256)
Colors.RGB(Rnd(y(0),y(1)),Rnd(y(2),y(3)), Rnd(y(4),y(5)) )
It is acceptable with the above array of numbers, but not the best text colors. What do you think the elements of the array of integers should be changed to so I always get the best contrast.
Thank you